Adyen / adyen-cse-web

[DEPRECATED] Client-side encryption on JavaScript
MIT License
15 stars 39 forks source link

Broken card encryption after update to 0.1.20 #57

Closed klipach closed 6 years ago

klipach commented 7 years ago

When I try to send paymentRequest.additionalData.card.encrypted.json to https://pal-test.adyen.com/pal/adapter/httppost encrypted with latest js library (0.1.20) I'm getting a response from API 'validation 175 Unable to parse JSON data'

ArnoudAdyen commented 7 years ago

Thanks for the report. I will check what is going on.

ArnoudAdyen commented 7 years ago

Hi,

We are working on a fix, and will bring out a 0.1.20.1 in a few hours.

Regards,

Arnoud

marcosbermejo commented 7 years ago

Hi,

Only if someone finds this helpful:

In my project's bower.json I got this:

"adyen-cse-js": "^0.1.18",

And this doesn't see the version 0.1.20.1, it skips from 0.1.20 to 0.1.21

janisbiz commented 7 years ago

Yep, as @marcosbermejo mentioned - Fatal error: Tag/branch ^0.1.20.1 does not exist

leonardo2204 commented 6 years ago

Was this ever fixed? I'm still trying to use the "Encrypt" option, sending to the card.encrypted.json in additionalData but it returns {"status":422,"errorCode":"174","message":"Unable to decrypt data","errorType":"validation"}

I'm using the latest version.

ArnoudAdyen commented 6 years ago

It was fixed in 0.1.20.1