Hello,
I am attempting to issue a CNP refund using the following JSON:
{ "createTransactionRequest":{ "merchantAuthentication" { "name":"<NAME>", "transactionKey":"<KEY>" }, "transactionRequest":{ "transactionType":"refundTransaction", "amount":10.0, "payment":{ "creditCard" { "cardNumber":"1234", "expirationDate":"XXXX" } }, "refTransId":"60992495427", "retail":{ "marketType":"2", "deviceType":"5" } } } }
The transaction 60992495427 was for $10.00 and has been settled successfully, but I get this response:
messages message code: E00027 text: The transaction was unsuccessful. resultCode: Error transactionResponse accountNumber: accountType: authCode: avsResultCode: P cvvResultCode: errors errorCode: 54 errorText: The referenced transaction does not meet the criteria for issuing a credit. refTransID: 60992495427 responseCode: 3 shipTo testRequest: 0 transHash: <HASH> transHashSha2: transId: 0
What am I missing in my refund request? The originial TX was charged to a customer's stored payment information in the CIM system.
Thank you!
03-13-2018 09:28 AM - edited 03-13-2018 09:28 AM
It is also worth noting that the original TX is less than 120 days old.
03-13-2018 11:11 AM
Hi @8Ball
You can check the Error response code tool to get more information for 54 .
https://developer.authorize.net/api/reference/responseCodes.html
CODE: 54
EXPLANATION: The referenced transaction does not meet the criteria for issuing a credit.
INTEGRATION SUGGESTIONS: The referenced transaction does not meet the criteria for issuing a credit. It may be unsettled, an invalid type, the wrong currency, an invalid reference transaction ID or settled more than 120 days ago.
Consider applying for Expanded Credit-Return Capabilities if the merchant needs to refund transactions older than 120 days.
If still questions i will suggest to contact our CS team .
Thanks
03-13-2018 10:23 PM