cancel
Showing results for 
Search instead for 
Did you mean: 

Apple Pay Error Code 153: There was an error processing the payment data. Unable to decrypt data

Getting a good return from Apple Pay:

 

{
"displayName": "My Company",
"domainName": "mydomain.com",
"epochTimestamp": 1583522301162,
"expiresAt": 1583525901162,
"merchantIdentifier": "44BA2C4DB35F18290B44B30A0D7805DCB52C10DE1E1CD25A8C495DA81F559227",
"merchantSessionIdentifier": "SSH337DF644161A4607BE20A350515C42ED_916523AAED1343F5BC5815E12BEE9250AFFDC1A17C46B0DE5A943F0F94927C24",
"nonce": "b97c4266",
"signature": "308006092a864886f70d010702a0803080020101310f300d06096086480165030402010500308006092a864886f70d0107010000a080308203e63082038ba00302010202086860f699d9cca70f300a06082a8648ce3d040302307a312e302c06035504030c254170706c65204170706c69636174696f6e20496e746567726174696f6e204341202d20473331263024060355040b0c1d4170706c652043657274696669636174696f6e20417574686f7269747931133011060355040a0c0a4170706c6520496e632e310b3009060355040613025553301e170d3136303630333138313634305a170d3231303630323138313634305a30623128302606035504030c1f6563632d736d702d62726f6b65722d7369676e5f5543342d53414e44424f5831143012060355040b0c0b694f532053797374656d7331133011060355040a0c0a4170706c6520496e632e310b30090603550406130255533059301306072a8648ce3d020106082a8648ce3d030107034200048230fdabc39cf75e202c50d99b4512e637e2a901dd6cb3e0b1cd4b526798f8cf4ebde81a25a8c21e4c33ddce8e2a96c2f6afa1930345c4e87a4426ce951b1295a38202113082020d304506082b0601050507010104393037303506082b060105050730018629687474703a2f2f6f6373702e6170706c652e636f6d2f6f63737030342d6170706c6561696361333032301d0603551d0e041604140224300b9aeeed463197a4a65a299e4271821c45300c0603551d130101ff04023000301f0603551d2304183016801423f249c44f93e4ef27e6c4f6286c3fa2bbfd2e4b3082011d0603551d2004820114308201103082010c06092a864886f7636405013081fe3081c306082b060105050702023081b60c81b352656c69616e6365206f6e207468697320636572746966696361746520627920616e7920706172747920617373756d657320616363657074616e6365206f6620746865207468656e206170706c696361626c65207374616e64617264207465726d7320616e6420636f6e646974696f6e73206f66207573652c20636572746966696361746520706f6c69637920616e642063657274696669636174696f6e2070726163746963652073746174656d656e74732e303606082b06010505070201162a687474703a2f2f7777772e6170706c652e636f6d2f6365727469666963617465617574686f726974792f30340603551d1f042d302b3029a027a0258623687474703a2f2f63726c2e6170706c652e636f6d2f6170706c6561696361332e63726c300e0603551d0f0101ff040403020780300f06092a864886f76364061d04020500300a06082a8648ce3d0403020349003046022100da1c63ae8be5f64f8e11e8656937b9b69c472be93eac3233a167936e4a8d5e83022100bd5afbf869f3c0ca274b2fdde4f717159cb3bd7199b2ca0ff409de659a82b24d308202ee30820275a0030201020208496d2fbf3a98da97300a06082a8648ce3d0403023067311b301906035504030c124170706c6520526f6f74204341202d20473331263024060355040b0c1d4170706c652043657274696669636174696f6e20417574686f7269747931133011060355040a0c0a4170706c6520496e632e310b3009060355040613025553301e170d3134303530363233343633305a170d3239303530363233343633305a307a312e302c06035504030c254170706c65204170706c69636174696f6e20496e746567726174696f6e204341202d20473331263024060355040b0c1d4170706c652043657274696669636174696f6e20417574686f7269747931133011060355040a0c0a4170706c6520496e632e310b30090603550406130255533059301306072a8648ce3d020106082a8648ce3d03010703420004f017118419d76485d51a5e25810776e880a2efde7bae4de08dfc4b93e13356d5665b35ae22d097760d224e7bba08fd7617ce88cb76bb6670bec8e82984ff5445a381f73081f4304606082b06010505070101043a3038303606082b06010505073001862a687474703a2f2f6f6373702e6170706c652e636f6d2f6f63737030342d6170706c65726f6f7463616733301d0603551d0e0416041423f249c44f93e4ef27e6c4f6286c3fa2bbfd2e4b300f0603551d130101ff040530030101ff301f0603551d23041830168014bbb0dea15833889aa48a99debebdebafdacb24ab30370603551d1f0430302e302ca02aa0288626687474703a2f2f63726c2e6170706c652e636f6d2f6170706c65726f6f74636167332e63726c300e0603551d0f0101ff0404030201063010060a2a864886f7636406020e04020500300a06082a8648ce3d040302036700306402303acf7283511699b186fb35c356ca62bff417edd90f754da28ebef19c815e42b789f898f79b599f98d5410d8f9de9c2fe0230322dd54421b0a305776c5df3383b9067fd177c2c216d964fc6726982126f54f87a7d1b99cb9b0989216106990f09921d00003182018d30820189020101308186307a312e302c06035504030c254170706c65204170706c69636174696f6e20496e746567726174696f6e204341202d20473331263024060355040b0c1d4170706c652043657274696669636174696f6e20417574686f7269747931133011060355040a0c0a4170706c6520496e632e310b300906035504061302555302086860f699d9cca70f300d06096086480165030402010500a08195301806092a864886f70d010903310b06092a864886f70d010701301c06092a864886f70d010905310f170d3230303330363139313832315a302a06092a864886f70d010934311d301b300d06096086480165030402010500a10a06082a8648ce3d040302302f06092a864886f70d010904312204207b9746f31359c0f912c6025a3e8018a08ab2652bac04e8f33daf27f1de2c63bf300a06082a8648ce3d04030204483046022100c0f589f2410f8d6083c69ef66db6796580d3cea342801f380f63360748b88ed3022100a7a0876a3950dcce137f569a8dcb616bdfc4993efb770f7ccd82eacd4a69ed29000000000000"
}

 

Base64 encoding the payment data being set:
eyJ2ZXJzaW9uIjoiRUNfdjEiLCJkYXRhIjoid0ZiNGpqUjY4TDBETzN2K2R3aGhtOXRNNnQrUWRUcE1Bcko5ekJHNVlhRkNGSzFXcTZ3b0lFZHYwSHFrN3pYSmJndjAyUmtpY2Y4SVVzbUROcGlaaHh0Sk0zN2VLWGxlRncrQ2txZTRBY0I3Z1E3MGhvVVlnVzQ1MGJzVjJpUGtLczllbUt5VVAwYkRDV2RKWFNnZHIyWXRmQWlHSjdPTGthMGh0SHZIRXlnUmx2dHNRbXl3WlZHQjFQUzNjSk1TMm50Z1RvajFYMm5wQ0s2c2FHU1RwZlQ2V0YxMmlrdWx5dlBnQmJOUGQzRTNnN1FsUUhtU2pCb1BDdUEwbzFNWDZHYzdPZnc2THh0MXlrQm5xVlNHWDhPWklON2hwMkd5TlViNU12V2xaVDNTdml6dGxjQXNDWTVtZkY1elphbGRDRlhuRzJQZ1p4T3plT0c5OTRJZ21KTXJKRGlqdUZVWmhjREY2SVphc2JydG0vektlUFZ0ZFZDbWV2WHVXc2N1VlZvQlVVUitDMUR1WHlI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fwa0NBUngzc0ZPQWJpQ2NJVEVBcWF3MWtVNE1ZU3JuUT09IiwicHVibGljS2V5SGFzaCI6InlXNGF6ZzZtbVV6N3lpZHh5eXpkN1NWN05rbWFVVDBqNEVOZGVFSkxSbUU9IiwidHJhbnNhY3Rpb25JZCI6IjNiN2FlYWQ1Y2M0ODg4MWI0ZDQzMWU5YmFjZjlhZjNkNGQxMGUxY2Q0NTkyZTYzM2UwZTlkNDRkMjhhYjVhYTgifX0=

 

Data Descriptor: COMMON.APPLE.INAPP.PAYMENT


API and TransactionKeys Set and verified

Setting Customer Address Type (first name, last name, address, city, state, zip, country)
Setting Order Description and Invoice Number
Setting Amount
Setting Transaction type to Auth Capture Transaction

 

Return value from authorize.net:

{
"refId": null,
"messages": {
"resultCode": "ERROR",
"message": [
{
"code": "E00007",
"text": "User authentication failed due to invalid authentication values."
}
]
},
"sessionToken": null,
"transactionResponse": {
"responseCode": null,
"rawResponseCode": null,
"authCode": null,
"avsResultCode": null,
"cvvResultCode": null,
"cavvResultCode": null,
"transId": null,
"refTransID": null,
"transHash": null,
"testRequest": null,
"accountNumber": null,
"entryMode": null,
"accountType": null,
"splitTenderId": null,
"prePaidCard": null,
"messages": null,
"errors": null,
"splitTenderPayments": null,
"userFields": null,
"shipTo": null,
"secureAcceptance": null,
"emvResponse": null,
"transHashSha2": null,
"profile": null,
"networkTransId": null
},
"profileResponse": null
}

kfode
Member
5 REPLIES 5

Fixed my own issue.

My problem was that I was sending a bad field during the onvalidatemerchant step. Don't assume that since you are getting a "good" return from Apple Pay, that your payload is correct.

 

I would suggest generating your own CSR/private key to create the Apple Pay Payment Processing Certificate instead of using authorize.net's CSR to troubleshoot. If the opaque data value coming back has a screwy payload, that's how you'll figure it out.

kfode
Member

Do you have an actual working solution that accepts applepay using the Authorize.NET API? I just want to know if this is something achievable.

I have created my own private key, followed all the info I could find online and still getting the same 153 decrypt error. 

Would be very appreciative to any response or direction.

Thank you in advance!

Any update on this issue? I'm having the same issue.

jyun123
Member

Any update Guy? I am also facing same issue.

goyanimaulik
Member

I am also facing same issue. any update?

goyanimaulik
Member