Hi Trying to use the Cybersource Flex API . NODE-JS applicaiton
Generated the x-pay-token and got the key back. Encrypted the card number with the returned public key . But getting this error.
"responseStatus": { "status": 400, "reason": "DECRYPTION_ERROR", "message": "Cannot decrypt PAN (RsaOaep256): data hash wrong", "correlationId": null, "details": [] },
Can you please point me if there are any sample s for NODE.js that we should follow to peform the encryption of CARD number for TOKENIZE CARD Request ?
And Also what are the supported encrytion types ? I dont see any documentation regarding this. Thankyou.
-SS
Hi SS,
Working on getting you an answer. Will get back shortly.
Thanks,
Ricardo
Hi SS,
Does this help?
Thank you,
Ricardo
Thanks Ricardio,
Points 1 , 2 are helpful and answers the question.
Do you have ETA of when can we expected the NodeJS Samples.? Is there a git link to watch for ?
thanks
Srinivas
Hi everyone,
I have the same issus, when I try tokenizing the card info:
</pre>
Response
<pre>
"responseStatus": {
"status": 400,
"reason": "DECRYPTION_ERROR",
"message": "Cannot decrypt PAN (RsaOaep256): data hash wrong",
"correlationId": null,
"details": []
}
</pre>
Please, have you found any solution to this problem?