Mercadopago.Preference (mercadopago_sdk_elixir v0.2.1)

Copy Markdown View Source

Checkout Pro payment preferences.

This is the hosted flow: create a preference, then redirect the buyer to the init_point MercadoPago returns. For the Checkout API — where you own the payment form — see Mercadopago.Order and Mercadopago.Payment.

Summary

Functions

create(client, preference_data, opts \\ [])

Creates a preference from preference_data.

get(client, preference_id, opts \\ [])

Fetches a preference by id.

update(client, preference_id, preference_data, opts \\ [])

Updates a preference.