cancel
Showing results for 
Search instead for 
Did you mean: 

PHP SDK Sandbox detailed Decline error response / note

Hi, Currently I'm using 

 

$tresponse = $response->getTransactionResponse();

echo json_encode($tresponse, JSON_PRETTY_PRINT);

 

To get a structured array-like:

 

{ "responseCode": "2", "authCode": "", "avsResultCode": "Y", "cvvResultCode": "P", "cavvResultCode": "2", "transId": "40036878630", "refTransID": "", "transHash": "", "testRequest": "0", "accountNumber": "XXXX1111", "accountType": "Visa", "errors": { "error": [ { "errorCode": "3", "errorText": "This transaction has been declined." } ] }, "transHashSha2": "" }

 

According to https://developer.authorize.net/hello_world/testing_guide/ How to get the following notes or texts?

  • "General bank decline."
  • "Referral to voice authorization center."
  • "An unknown error occurred during processing."

 

Thank you

0 REPLIES 0