[英]Braintree - require CVV for saved payment method
I am integrating Braintree's dropin JS widget into our project. 我正在将Braintree的dropin JS小部件集成到我们的项目中。 On server side, I generate client token with customerId, which causes that dropin is showing customer's saved payment methods (credit cards). 在服务器端,我用customerId生成客户令牌,这导致dropin显示客户保存的付款方式(信用卡)。
However, due to our security policy we should require a CVV each time user wants to make a transaction (even for previously saved credit cards). 但是,由于我们的安全政策,每次用户想要进行交易时,我们都应要求提供CVV(即使是以前保存的信用卡)。
I've tried to override some CVV fields, but it doesn't effect saved credit cards. 我尝试覆盖某些CVV字段,但这不会影响已保存的信用卡。
braintree.dropin.create({
authorization: token,
container: "#braintree-form",
card: {
overrides: {
cvv: true //doesn't change anything
}
}
}, //(...) rest of code)
Is there any way to use dropin and force CVV typing each time user wants to use saved payment method? 每当用户想要使用保存的付款方式时,是否可以使用dropin并强制输入CVV类型?
I think you should enable cvv rules from your Control Panel 我认为您应该从控制面板启用cvv规则
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.