Checkout Iframe
Integra fácilmente nuestra pasarela segura en tu web
Cómo usar el iframe
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div style="overflow:hidden;">
<iframe
src="http://user_area.wipay.es/merchant/980016141/checkout/980016141-25-0-BNtO7dEx9_yb7nnFf3ihPZrv"
width="450"
height="1200"
scrolling="no"
style="border:none;"
sandbox="allow-scripts allow-same-origin allow-popups allow-top-navigation allow-forms allow-modals"
>
</iframe>
</div>
<script>
window.addEventListener('message', (event) => {
if (event.origin !== 'https://user-area.wipay.es') return; // IMPORTANT: Other origins must not be trusted
console.log('Messaged received', event);
if (event.data?.type === 'checkout-ready') {
console.log('Unshow loading component and show iframe checkout');
}
});
</script>
</body>
</html>Notificaciones
ready
Last updated