Mercado Pago Gateway: Mercado Pago Checkout
There is only one necessary change to support the Gateway Model in the Mercado Pago Checkout: add the
processing_modes attribute when you create a preference:
<?php $preference = new MercadoPago\Preference(); $item = new MercadoPago\Item(); $item->title = 'Mi producto'; $item->quantity = 1; $item->unit_price = 100.0; $preference->items = array($item); $preference->$processing_modes = array('gateway'); $preference->save(); ?>
Done! Your Mercado Pago Checkout is now working in the Gateway Model.
Hybrid model: the Mercado Pago Checkout doesn't support this mode yet. We are working to have this option soon. We'll let you know when is available to use.
Was this information helpful?
Thank you for helping us improve. We’re sorry you didn’t find what you were looking for. Could you give us more details? It will only take a few minutes. Go to the form.
Thank you for helping us improve! Can you tell us about your experience?
It will only take a few minutes. Go to the form.