cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

ApplePay doesn't work when switch to live

Hello everyone.
Last month i successfuly integrated ApplePay using sandbox. Every transaction passes. When i switched to live, using payment processing certificate from authorize.net live account, the transactions started to fail with error:
RESPONSE CODES: -1/153; FAIL REASON: There was an error processing the payment data. Unable to decrypt data

These are steps i made to switch to live:
1. I requested payment processing certificate using authorize.net live account
2. I uploaded same certificate request to apple merchant identity i'm using for this site.
3. I switched the API mode to live

I'm using authorize.net SDK, published in github.

Am i missing something? Please advice.

mpetrov
Member
1 REPLY 1

The logs of the request/response follows:
{
    "createTransactionRequest":{
        "merchantAuthentication":{
                "name":"xxxxxxxxx",
                "transactionKey":"xxxxxxxxxx"
        },
        "clientId":"sdk-php-2.0.0",
        "refId":"ref1575669789",
        "transactionRequest":{
            "transactionType":"authOnlyTransaction",
            "amount":"14.08",
            "payment":{
                "opaqueData":{
                    "dataDescriptor":"COMMON.APPLE.INAPP.PAYMENT",
                    "dataValue":"eyJ2ZXJzaW9uIjoiRUNfdjEiLCJkYXRhI...OSJ9fQ=="
                }
            },
            "order":{
                "invoiceNumber":"63059-191206",
                "description":"GovGroup.com, SearchFit Shopping Cart v9.0.12 (Order# 63059-191206)"
            },
            "customer":{
                "type":"individual",
                "email":""
            },
            "billTo":{
                "firstName":"Gabe",
                "lastName":"xxxxxx",
                "address":"xxxx San xxxx",
                "city":"Vista",
                "state":"CA",
                "zip":"920xx",
                "country":"US"
            },
            "retail":{
                "marketType":0,
                "deviceType":8
            },
            "transactionSettings":{
                "setting":[
                    {
                        "settingName":"duplicateWindow",
                        "settingValue":"60"
                    }
                ]
            }
        }
    }
}

{
    "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. Required fields are missing    from decrypted data."
            }
        ],
        "transHashSha2":"",
        "SupplementalDataQualificationIndicator":0
    },
    "refId":"ref1575669789",
    "messages":{
        "resultCode":"Error",
        "message":[
            {
                "code":"E00027",
                "text":"The transaction was unsuccessful."
            }
        ]
    }
}

mpetrov
Member