I am not able to understand Datavalue, how can I decrypt the Google API output?
var opaqueData = new opaqueDataType { dataDescriptor = "COMMON.ANDROID.INAPP.PAYMENT", dataValue= apiToken };
Both errors are showing.
"E00027" The transaction was unsuccessful.
Error code: 153 "There was an error processing the payment data. Unable to decrypt data."
Tuhin PaulPosted Feb 15, 2023, 10:50 AM
Are you working with a payment system that is using opaque data to encrypt the payment information. Usually opaque data are used for encoding sensitive data such that it is unreadable to unauthorized parties.
Also in the code the dataValue field of the opaqueData object is being set to an apiToken. This apiToken likely contains the encrypted payment information that is being sent to the Google API.
The error message you received indicates that there was a problem decrypting the data that was sent. This could be due to a variety of reasons, such as an incorrect encryption key, corrupted data, or an issue with the Google API's decryption process.
To resolve this issue, you may need to double-check that the encryption key being used is correct, and that the data being sent is not corrupted or malformed.