VCO : server replies with access denied

Solved! Go to solution
sherlock
Helper

VCO : server replies with access denied

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

15 REPLIES 15
candidosales
Helper

Re: VCO : server replies with access denied

I'm having the same problem with the SDK Visa Android.

Emontiel
Regular Visitor

Re: VCO : server replies with access denied

<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?

 

 

candidosales
Helper

Re: VCO : server replies with access denied

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/

sherlock
Helper

Re: VCO : server replies with access denied

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

Emontiel
Regular Visitor

Re: VCO : server replies with access denied

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

 

 

ricardo_visa
Community Scholar

Re: VCO : server replies with access denied

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




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
candidosales
Helper

Re: VCO : server replies with access denied

2 days for an answer, great! Smiley Frustrated

ricardo_visa
Community Scholar

Re: VCO : server replies with access denied

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




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
sherlock
Helper

Re: VCO : server replies with access denied

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