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.
Line 117: createTransaction(paymentToken.paymentData);
Line 17-44: specifically lines 22-25:
|let objJsonStr = JSON.stringify(dataObj);|
|let objJsonB64 = window.btoa(objJsonStr);|
Lines 27-41: call to your service for authorization/Capture.
Seems to work out for me.