Reply
Member
Posts: 1
Registered: ‎10-27-2020

Unable to process ApplePay transaction

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:

  • Set marketType to 0 to flag the transaction as e-commerce.
  • Set transactionType to authCaptureTransaction or authOnlyTransaction.
  • Specify both opaque data parameters.
  • Do not include card number, expiration date, or track data.
  • Do not include 3DS data.
  • Ensure that you submit data that can be successfully decrypted.
  • Only submit decrypted data that belongs to the merchant submitting the request.
  • Encode the submitted data in Base64.

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."
            }
        ]
    }
}
New Member
Posts: 1
Registered: ‎11-06-2020

. Re: Unable to process ApplePay transaction

Facing same issue. Any solution on this ?