Hello,
We've used the html page example to test VCO in sandbox:
<html>
<head>
<script type="text/javascript">
function onVisaCheckoutReady(){
V.init( {
apikey: "7O07VN664O10JW6A9ESS113p8sf9JeGzr6_2haC9F9m_ANtLM",
paymentRequest:{
currencyCode: "USD",
total: "10.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>
When the page is loaded and the script is running, visa sanbox server reply with access denied.
We used apikey provided in the sample and our own apikey without success.
Are we missing something?
Thanks
Solved! Go to Solution
I'm having the same problem with the SDK Visa Android.
<html>
<head>
<script type="text/javascript">
function onVisaCheckoutReady(){
V.init( {
apikey: "NW1L1T0XI04R412IVQE721YPkUG7r7C7KJQzqVuxnYRzIQEwg",
paymentRequest:{
currencyCode: "MXN",
total: "1045.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>
i have same problem.
yesterday my code was working and now no.
browser console said
{"responseStatus":{"status":404,"code":1010,"severity":"INFO","message":"Expected resource is not available. Merchant not found."}}
documentation have this error
https://developer.visa.com/products/visa_checkout/reference
API key or call ID not found, or data referenced by the API key or call ID is invalid or not available.
but i created new x-pay token keys and continue with this error.
any idea?
The API returned to work. The bad that we do not know why it stopped working, and yesterday had a Visa Checkout integration presentation on Android and nothing was working.
It's too bad this instability, should have a website page showing the health check of the APIs.
Some examples:
The company that provides this service: https://www.statuspage.io/
I'm still getting the following error message:
<html><head>
<title>Access Denied</title>
</head><body>
<h1>Access Denied</h1>
You don't have permission to access "http://sandbox.secure.checkout.visa.com/checkout-widget/config?" on this server.<p>
Reference #18.6bc54543.1472228750.8ac442b
</p></body></html>
Can someone from Visa confirm pls?
Thanks
HI.
MY samples codes is not working today. it could be that visa networks is having problems now.
For example this url sandbox:
https://sandbox.api.visa.com/wallet-services-web/
shows
500 Internal Server Error Server
Hi everyone,
We are aware of a server and connection issue and are working to get things running smoothly. Please standby for an update here.
Thanks,
Ricardo
2 days for an answer, great!
Hoping to get everything up and running soon! We understand the frustration - feel free to email me directly if you have any further questions. Visadeveloper@visa.com
-Ricardo
Hi Ricardo,
Thanks for your reply.
FYI, it was working last weekend but stopped either Sunday or Monday.
Can you confirm html I've posted with apikey is set properly?
Thanks