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?
Thank you
08-21-2019 10:01 PM