Hi Guys,
Maybe someone already faced such error while integrating Aplle Pay. We're getting error "153 Unable to decrypt data"
We try to send paymentData.data with base64 encoding (see the screenshot below):
What exactly of that should we use in setDataValue OpaqueDataType?
I would really appreciate any help.
Thank you.
02-23-2022 02:44 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:32 PM
Please look at GitHub - AuthorizeNet/accept-sample-app: This application provides examples of how to use the Author...
File: applePayCaller.js
Line 117: createTransaction(paymentToken.paymentData);
Line 17-44: specifically lines 22-25:
let objJsonStr = JSON.stringify(dataObj); |
console.log(objJsonStr); |
let objJsonB64 = window.btoa(objJsonStr); |
console.log(objJsonB64); |
Lines 27-41: call to your service for authorization/Capture.
Seems to work out for me.
07-27-2022 03:36 PM