简体   繁体   English

Braintree-需要CVV以保存付款方式

[英]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规则

  1. Log into the Control Panel 登录控制面板
  2. Navigate to Settings > Processing > Fraud Tools 导航到设置>处理>欺诈工具
  3. Under AVS or CVV, click Options 在AVS或CVV下,单击选项
  4. Select your desired AVS or CVV rejection criteria You have the option to apply the rules to all transactions or only to specific card types, amounts, or merchant accounts 选择所需的AVS或CVV拒绝标准您可以选择将规则应用于所有交易,或仅应用于特定的卡类型,金额或商户帐户
  5. Click Save 点击保存

More information here 更多信息在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM