Integration via Deep Linking
One of the ways to integrate with Mercado Pago is via Deep Linking. When said link is called, it is intercepted as a Point-handled address by the Mercado Pago application.
In the "call" to this link you can send different parameters that will be taken by the Mercado Pago application and will impact the payment. Once you´ve made that call to the previously defined link, the user will be redirected to the Mercado Pago application to swipe the card and make the purchase.
Once the payment is proccesed, the user will be redirected to the
fail_url, depending on the result. This must be intercepted to return the user to the application.
Deep Linking creation
The URL to be intercepted is the following:
The parameters that you can include are:
amount: The amount that will be charged to the client (*).
description: Description of the operation (Máx.: 19 caracters) (*).
external_referenceis a reference code that allows you to track the Mercado Pago
payment_idin your system.
notification_url: The URL where you will receive the notifications.
payer_email: Email of the payer.
success_url: The URL where the user will be redirected when the payment succeeds.
fail_url: The URL where the user will be redirected when the payment is rejected.
In the following [GitHub] article (https://github.com/mercadopago/point-android_integration#deep-linking) you can find more information, as well as a descriptive example.