cancel
Showing results for 
Search instead for 
Did you mean: 

Apple Pay Cannot be Decrypted

Hello I'm wondering if anyone can help me. I'm working on Authorize.Net integration with Apple Pay, we already have Authorize.Net working with credit card transactions, we have Apple Pay already working with Cybersource and can confirm the Apple Pay account is valid, the Apple Pay Merchant Id for Authorize.Net seems correct, and we’ve already tried recreating the certificate. . When we use Apple Pay with Authorize.Net, we continually get the error message saying "There was an error processing the payment data. Unable to decrypt data".  

We're creating a json string for our dataValue for the information from Apple and wondering if this is all the data needed and if this is the correct ordering for the json:

{

                "data":"placeholderData",

                "version":"EC_v1",

                "header":

                {

                                "applicationData":"",

                                "transactionId":"placeholderTransactionId",

"ephemeralPublicKey":"placeholderEphemeralPublicKey",

                                "publicKeyHash":"placeholderPublicKeyHash”

                                },

                "signature":" placeholderSignature"

}

After that we're serializing the json string to send in as a the dataValue as follows and wondering if it's an issue of a different serialization method is needed:

string dataValue = Convert.ToBase64String(Encoding.UTF8.GetBytes(jsonApplePay));

Please let me know if you have any suggestions. 


Akhack
New Member
0 REPLIES 0