我正在尝试在支持 adyen 结账的运动鞋网站上编写脚本。基本上,它以这种方式加密我的信用卡数据并且不让我付款。
payload_cc = {
...
"dwfrm_billing_paymentMethod": "CREDIT_CARD",
"dwfrm_billing_creditCardFields_cardType": "Mastercard",
"dwfrm_billing_creditCardFields_adyenEncryptedData":"adyenjs_0_1_25$ibmnmdt8wdc5...",
"dwfrm_billing_creditCardFields_cardNumber":"************last4digits"
"dwfrm_billing_creditCardFields_expirationMonth": "07",
"dwfrm_billing_creditCardFields_expirationYear": "2024"
}
这是我的实际付款要求。
checkout_page = s.get("https://www.slamjam.com/en_IT/checkout-begin?stage=payment#payment",headers=headers)
checkout_card = s.post("https://www.slamjam.com/on/demandware.store/Sites-slamjam-Site/en_IT/CheckoutServices-SubmitPayment",headers=headers, data=payload_cc)
place_order = s.get("https://www.slamjam.com/en_IT/checkout-begin?stage=placeOrder#placeOrder",headers=headers)
最后 2 个请求没有通过,因为 adyen 加密了卡号并生成了一种令牌。我能做些什么?它是否像可以帮助我的 adyen 库一样存在?