Issue Description: I am integrating Mercado Pago into Bubble using the Mercadopago - Checkout Pro Renato Asse Plugin. While the payment is created successfully and the webhook triggers as expected, I’m facing a critical issue when trying to identify the user.
The Problem: In my Backend Workflow, Step 1 (Consultar Notificação Payment) successfully receives the ID from the webhook. However, when I try to use the results of that step in Step 2 (Make changes to Empleador), the external_reference field comes up empty/null. Since the external_reference is missing, the search for the specific unique_id fails, and the user’s subscription status is never updated.
This is my workflow:
Frontend Workflow:
-
Button “Elegir plan” is clicked.
-
Step 1: Mercadopago - Criar preferencia
-
Notification URL:
https://nanasperu.com/version-test/api/1.1/wf/mercadopago_webhook -
External Reference:
Current User's Empleador's Unique ID
-
-
Step 2: Open an external website
- Destination:
Result of step 1's sandbox_init_point
- Destination:
Backend Workflow:
-
API Event:
mercadopago_webhook-
Expose as a public API workflow: Checked
-
Parameter definition: Detect request data
-
-
Step 1: Mercadopago - Consultar Notificação Payment
- (path) ID_payment:
Request Data's body id
- (path) ID_payment:
-
Step 2: Make changes to Empleador…
-
Search for Empleador (First item)
-
Constraint:
unique_id = Result of step 1's body external_reference<— This is where it fails (returns null) -
Field:
subscription_active = "yes"
-
Has anyone experienced the Mercadopago - Checkout Pro Renato Asse Plugin not returning the external_reference even when the payment ID is valid? Is there a different way to fetch the payment details or a specific setting in Mercado Pago’s dashboard that I might be missing?
Any help would be greatly appreciated!