Re: Unknown system error on Visa Checkout authorization

Germano
Regular Visitor

Unknown system error on Visa Checkout authorization

I'm trying to make an authorization request with Visa Checkout in the sandbox environment but I'm getting system error:

 

request:

POST https://sandbox.api.visa.com/cybersource/payments/v1/authorizations?apikey=omitted
{
  "getVisaCheckoutDataService_run": true,
  "merchantID": "omitted",
  "merchantReferenceCode": "91322",
  "paymentSolution": "visacheckout",
  "vc_orderID": "omitted"
}

 

response:

{
  "responseStatus" : {
    "status" : 500,
    "reason" : "system_error",
    "message" : "Request failed due to unknown system error.",
    "correlationId" : "14b22e55-7076-4aeb-a26b-481c11639de7",
    "details" : [ {
      "location" : "reasonCode",
      "message" : "150"
    } ]
  }
}

 

I tried making the hello word request and it worked, so the X-Pay token is probably fine.

 

Am I doing something wrong or is it an issue with the API?

4 REPLIES 4
Sanobar
Frequent Helper

Re: Unknown system error on Visa Checkout authorization

Hello,

quick question, are you trying to ping Cybersource or Visa Checkout?

URL you are trying to reach is https://sandbox.api.visa.com/cybersource/payments/v1/authorizations?apikey=omitted

and subject is saying Visa checkout authorization?

 

I am looking into your error message as well.

Thanks

Sanobar

Germano
Regular Visitor

Re: Unknown system error on Visa Checkout authorization

I'm trying to do an authorization with the call id from visa checkout. For what I understood in the documentation here the visa checkout authorization uses the same URL.

Germano
Regular Visitor

Re: Unknown system error on Visa Checkout authorization

Sorry, I didn't see that the example I've posted is a request to get visa checkout data, but with the authorization request I'm getting the same error.

 

There is a correct example:

 

 

POST https://sandbox.api.visa.com/cybersource/payments/v1/authorizations?apikey=omitted

{
  "ccAuthService_run": true,
  "merchantID": "omitted",
  "merchantReferenceCode": "10975",
  "paymentSolution": "visacheckout",
  "vc_orderID": "omitted",
  "purchaseTotals_currency": "BRL",
  "purchaseTotals_grandTotalAmount": "13.37"
}

500 Internal Server Error

{
  "responseStatus": {
    "status": 500,
    "reason": "system_error",
    "message": "Request failed due to unknown system error.",
    "correlationId": "f3c944fd-bf20-4f18-bc56-8367137f0a52",
    "details": [
      {
        "location": "reasonCode",
        "message": "150"
      }
    ]
  }
}

 

ronw1309
Occasional Visitor

Re: Unknown system error on Visa Checkout authorization

trying to do an authorization with the call id from visa checkout. For what I understood in the documentation here the visa checkout authorization uses the same URL.

Website | Website | Website