Alguien me puede ayudar a resolver lo siguiente.
En la página de los desarrolladores de visa lo explican así pero al sustituir y poner mis credenciales y después de insertar en la página web y publicar no me hace nada solo aparece el logo visa
<html>
<head>
<script type="text/javascript">
function onVisaCheckoutReady(){
V.init( {
apikey: "...",
paymentRequest:{
currencyCode: "USD",
subtotal: "11.00"
}
});
V.on("payment.success", function(payment)
{alert(JSON.stringify(payment)); });
V.on("payment.cancel", function(payment)
{alert(JSON.stringify(payment)); });
V.on("payment.error", function(payment, error)
{alert(JSON.stringify(error)); });
}
</script>
</head>
<body>
<img alt="Visa Checkout" class="v-button" role="button"
src="https://sandbox.secure.checkout.visa.com/wallet-services-web/xo/button.png"/>
<script type="text/javascript"
src="https://sandbox-assets.secure.checkout.visa.com/
checkout-widget/resources/js/integration/v1/sdk.js">
</script>
</body>
</html>
Mod: Obligatorio el uso de etiquetas GeSHi.
No entiendo cual es el problema, podrías expicificar más?
Comprueba la consola javascript por errores, también comprueba que se estén cargando los pertinentes JS.
Saludos