Prerequisites:
1. Create an application at MercadoPago Developers:
https://www.mercadopago.com.ar/developers/panel/applications 2 Get your app Access Token
https://www.mercadopago.com.br/developers/panel/credentials3. Go to your Bubble app, then "Plugin Settings" and configure the API Key fields for PROD and TEST, appending "Bearer" to the value Mercadopago gives you:
for example API Key = Bearer TEST-askj3423k4j23i32jkj3k32j2k3
Once pre-requisites are done:
1. Create a preference using API call (simple and advanced modes available)
2. Redirect the user to the init_point returned by the API call
3. Setup a backend workflow to receive the IPN with the payment status
For testing subscriptions, follow this guide:
https://www.mercadopago.com.ar/developers/en/guides/online-payments/subscriptions/testingPlease keep in mind that testing should be done logged in with a different Mercadopago account than your developer account.
Any question or to request new endpoints please write to
[email protected]The plugin is tested and has active installations. If you find errors it is likely to be in your implementation. If you still think there is a bug shoot me an email to
[email protected]See the sample implementation of the demo page at
https://mercadopago-demo.bubbleapps.io/version-test?debug_mode=trueSee the building blocks of the implementation at
https://bubble.io/page?id=mercadopago-demo&tab=Design&name=indexPlease note that Marketplaces are NOT supported