cancel
Showing results for 
Search instead for 
Did you mean: 

There was an error processing the payment data. Unable to decrypt data.

Hello Team,
 
We are facing a issue with authorize API while doing a real transaction through Apple Pay account.
There is a error: "There was an error processing the payment data. Unable to decrypt data." from API.
When we are consuming API from our website. 
 
TransactionRequest:
{
    "createTransactionRequest": {
        "merchantAuthentication": {
            "name""42Yf9j2YAk",
            "transactionKey""945QXvkW5uz5Xw8Z"
        },
        "transactionRequest": {
            "transactionType""authCaptureTransaction",
            "amount""10",            
            "payment": {
                "opaqueData": {
                    "dataDescriptor""COMMON.APPLE.INAPP.PAYMENT",
                    "dataValue""eyJkYXRhIjoiWHRSK3Y5dWJUKzd4R0wwUHA0cHZBbDhXOXA3OTZ0dlNOY1AxRmhlem82akdMVGRpK1FLMnpONXdhelMzRnlhc1FXSnVQYnhpTG0wYnYrV3dGRk1VVnFRcno4N0NHQjdTSlQ0aDNPRWpkOHdCVVY0YXlwWFl3am96b1ZkOXVpQnEvNXBBRm5qdEdwZDEvZ0w3dnhUVGxkemY4bFBFa1F0YTg2czFRV2JEWjljOWVPWm1lY05wQThTSkE3MnkycFkyRmQzcXl5S3k2VVdLaU1VeTZQQmdpN1NsM2JhSjY2MFJ1VHNzeTBuVUxERjhJdGhNSjFjUEJwbG1jVEs0KzFjYWUzU09peFpWM1dYVy9teXhmbEd6VThqcVFOU3QwUEpLblFTUEVtMVRxTHQzQ3Z3UlJYV1FqaERKYThwNXMrdm02c3BuVDdxdmZzNysxbkRLVm05MWQvSkFOM2Y4KzQ1MmYyUWMyRmdhWEhjU095ZFpvSTRQcUluVUxXZzhKa0E3MkFXWmIwczlQcGx4eWNVTCIsInNpZ25hdHVyZSI6Ik1JQUdDU3FHU0liM0RRRUhBcUNBTUlBQ0FRRXhEekFOQmdsZ2hrZ0JaUU1FQWdFRkFEQ0FCZ2txaGtpRzl3MEJCd0VBQUtDQU1JSUQ0ekNDQTRpZ0F3SUJBZ0lJVERCQlNWR2RWRFl3Q2dZSUtvWkl6ajBFQXdJd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5In0sInZlcnNpb24iOiJFQ192MSJ9"
                }
            }
        }
    }
}
Note: This request json is working fine with Postman.
 
Please suggest on this issue, how can we fix it. 
 
 
Rahul1231
Member
0 REPLIES 0