Issues using Visa Checkout button in IE and Edge.
It only works in Chrome!
I have a simple web page below. I have x'd out my API key.
When ran in Edge - You cannot enter input into the Enter Email Address area
When ran in IE 11 - it throws a javascript error when it is displaying my info and I press continue
JavaScript critical error at line 42, column 294 in https://2592736.fls.doubleclick.net/activityi;src=2592736;type=vcote0;cat=vco-ccc4;ord=3321435432365... Click;u18=USD;~oref=https://sandbox.secure.checkout.visa.com/checkout-widget/rxo/review?\n\nSCRIPT1004: Expected ';'
Sample page
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title></title>
<script>
function onVisaCheckoutReady() {
V.init({
apikey: "xxx",
paymentRequest: {
currencyCode: "USD",
subtotal: "11.00",
total: "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 src="https://sandbox-assets.secure.checkout.visa.com/checkout-widget/resources/js/integration/v1/sdk.js">...>
</body>
</html>
Solved! Go to Solution
Hi KJW -
Hmm. Why is a double click ad opening when you attempt to use the lightbox? This seems to indicate a problem with your browser or environment. Suggest you try figuring out why the double click ad is being loaded, and removing whatever is causing that?.
Marty
Visa Developer Team