Rhkruz03
Rhkruz03

Reputation: 57

Adyen Encryption of Credit Card Details using Python

The Adyen packages are scattered and are not answering my questions directly. I am using python on the server side to pass credit card credentials to a website.

CardNumber = 4111111111111111
ExMonth = 11
ExYear = 23
CVC = 123

Adyen encrypts these details before it is submitted to the website:

"encryptedCardNumber":"adyenjs_0_1_18$MT6ppy0FAMVMLH...", 
"encryptedExpiryMonth":"adyenjs_0_1_18$MT6ppy0FAMVMLH...", 
"encryptedExpiryYear":"adyenjs_0_1_18$MT6ppy0FAMVMLH...", 
"encryptedSecurityCode":"adyenjs_0_1_18$MT6ppy0FAMVMLH...",

Do I have to perform a cURL request? Because Adyen is only giving me details as if the website belongs to me when it doesn't. This is simply to submit the information in python in a session with a POST request.

Upvotes: 0

Views: 1168

Answers (1)

luke_b
luke_b

Reputation: 697

This encryption is performed uniquely for each payment and is performed client side (on purpose) to protect card details.

This encryption has to happen on said website's page and can't be done by your backend.

Upvotes: 1

Related Questions