We are testing Apple Pay payment via Authorize.Net in sandbox and get in response payload an error with errorCode=153 and with message: "There was an error processing the payment data. Invalid ownership" during call service createTransactionRequest. We get the this error while testing Apple Pay payment with any of the following credit cards: Visa, Master Card and Discovery. We are passing in createTransactionRequest encoded paymentData via Base64. We have generated the CSR and imported it into Apple and set up the merchant id.
Documentation says to check the following steps:
We have already gone over these steps and are still getting the error.
Can someone please let us know what specifically we need to do to resolve the Invalid ownership error?
Request:
{ "createTransactionRequest": { "merchantAuthentication": { "name": "*****", "transactionKey": "*****" }, "transactionRequest": { "transactionType": "authOnlyTransaction", "amount": "45.69", "payment": { "opaqueData": { "dataDescriptor": "COMMON.APPLE.INAPP.PAYMENT", "dataValue": "eyJkYXRh..." } }, "lineItems": { "lineItem": [ { "itemId": "LP1300SBL", "name": "Prime 1300 Laser Rangefinder", "quantity": "1", "unitPrice": "39.90" } ] }, "tax": { "amount": "2.79" }, "shipping": { "amount": "0.00" }, "poNumber": "00000830-4f8180255cb3be170e3afa1dfe", "customer": { "email": "abargamin@speroteck.com" }, "billTo": { "firstName": "Alexander", "lastName": "Bargamin", "address": "15484 Percival Street ", "city": "Spirit Lake", "state": "IA", "zip": "51360", "country": "USA" }, "shipTo": { "firstName": "Alexander", "lastName": "Bargamin", "address": "15484 Percival Dr ", "city": "Spirit Lake", "state": "IA", "zip": "51360-7433", "country": "USA" }, "customerIP": "193.151.106.77", "retail": { "marketType": 0, "deviceType": 8 } } } }
Response:
{ "transactionResponse": { "responseCode": "3", "authCode": "", "avsResultCode": "P", "cvvResultCode": "", "cavvResultCode": "", "transId": "0", "refTransID": "", "transHash": "", "testRequest": "0", "accountNumber": "", "accountType": "", "errors": [ { "errorCode": "153", "errorText": "There was an error processing the payment data. Invalid ownership." } ], "transHashSha2": "", "SupplementalDataQualificationIndicator": 3 }, "messages": { "resultCode": "Error", "message": [ { "code": "E00027", "text": "The transaction was unsuccessful." } ] } }
โ10-27-2020 08:53 AM
Facing same issue. Any solution on this ?
โ11-06-2020 04:58 AM
I got stuck with this exact issue. Have you solved this?
I would love to know if you ended up getting applepay setup to work with Authorize.NET API.
โ05-30-2022 01:34 PM