I am working on getting Apple Pay integrated in my app through Cordova (Phonegap) and have successfully retrieved my Apple Pay token. I followed all the instructions outlined in both Apple Pay and ADN documentation. Generated all required keys and certificates (twice). I already have a working ADN integration using both CIM and AIM, so I know my integration is solid. I can process regular auth-capture transactions no problem.
I am working in the ADN sandbox and have tried switching my account between Live and Test, as well as switching test mode between True and False.
Here is the information I generated just now (redacted and truncated):
Apple Pay Token ================================== eyJ2ZXJz.....2dKdWs9In19
Base 64 Decoded Apple Pay Token ================================== { "data" : "PtFJv.....UNFGg==", "header" : { "ephemeralPublicKey" : "MFkwEw.....Baor01w==", "publicKeyHash" : "Q1q.....Juk=", "transactionId" : "c51.....b4" }, "signature" : "MIAG.....AAAA", "version" : "EC_v1" }
ADN Request ================================== <?xml version="1.0" encoding="UTF-8"?> <createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>REDACTED</name> <transactionKey>REDACTED</transactionKey> </merchantAuthentication> <refId>C.....4</refId> <transactionRequest> <transactionType>authCaptureTransaction</transactionType> <amount>5</amount> <payment> <opaqueData> <dataDescriptor>COMMON.APPLE.INAPP.PAYMENT</dataDescriptor> <dataValue>eyJ2ZX.....9In19</dataValue> </opaqueData> </payment> </transactionRequest> </createTransactionRequest>
ADN Response ================================== <?xml version="1.0" encoding="UTF-8"?> <createTransactionResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <refId>CID2254674</refId> <messages> <resultCode>Error</resultCode> <message> <code>E00027</code> <text>The transaction was unsuccessful.</text> </message> </messages> <transactionResponse> <responseCode>3</responseCode> <authCode /> <avsResultCode>P</avsResultCode> <cvvResultCode /> <cavvResultCode /> <transId>0</transId> <refTransID /> <transHash>2E.....B72</transHash> <testRequest>0</testRequest> <accountNumber /> <accountType /> <errors> <error> <errorCode>153</errorCode> <errorText>There was an error processing the payment data.</errorText> </error> </errors> </transactionResponse> </createTransactionResponse>
Needless to say, this error response is less than helpful. ANY help would be greatly appreciated.
Solved! Go to Solution.
10-13-2015 08:43 AM
For anyone having the same problem that I am. Move on. You will not get support here. I have opened multiple tickets, with promises to "get back" to me. Or the same canned response, "It could be any one of these 9 things. Good luck!"
Unfortunately I will be moving to Chase and using their services as our primary processor. Fortunately, I will get the support that I need.
10-30-2015 07:48 AM
Quick question for anyone who may know, could this be a problem with the sandbox environment? That's the only thing that I can come up with. I just renewed all certificates (AGAIN) per the documentation and it fails the same way.
10-13-2015 01:20 PM
No takers? I can't be the only one with this issue. Is there official ADN support that I can pay for? Maybe someone on the other side to LOOK at the transaction come through and tell me what's wrong? As stated before, the response I receive back is borderline unacceptable. There are NO indicators for why the transaction was rejected.
HELP!
10-14-2015 02:08 PM
For anyone having the same problem that I am. Move on. You will not get support here. I have opened multiple tickets, with promises to "get back" to me. Or the same canned response, "It could be any one of these 9 things. Good luck!"
Unfortunately I will be moving to Chase and using their services as our primary processor. Fortunately, I will get the support that I need.
10-30-2015 07:48 AM