MercadoPago redirect the page when closing the modal window

0

We are integrating MercadoPago through the modal window, but when you press the button, go to the seller's site ", redirect the page within the modal window

What is required is that the page is not displayed within the modal window. Is there any way to do this?

function paymentMercadoPago(){
                    console.log("abrir 2");

                    $MPC.openCheckout ({
                        url: "${linkPaymentMP.link}", 
                        **mode: "modal",**
                        onreturn: function(data) {
                            alert("json " + JSON.stringify(data));

                            console.log(JSON.stringify(data));

                        }
                    });
                }
    
asked by MARIO GARCIA 09.05.2018 в 21:23
source

0 answers