使用Python对信用卡详细信息进行Adyen加密 [英] Adyen Encryption of Credit Card Details using Python

查看:185
本文介绍了使用Python对信用卡详细信息进行Adyen加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Adyen软件包比较分散,无法直接回答我的问题.我在服务器端使用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在将这些详细信息提交到网站之前对其进行了加密:

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...",

我必须执行cURL请求吗?因为Adyen仅向我提供详细信息,好像该网站不属于我一样.这只是在带有POST请求的会话中以python形式提交信息.

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.

推荐答案

此加密是针对每次付款唯一执行的,并且是在客户端(有意地)执行的,以保护卡中的详细信息.

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.

这篇关于使用Python对信用卡详细信息进行Adyen加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆