简体   繁体   中英

Braintree - require CVV for saved payment method

I am integrating Braintree's dropin JS widget into our project. On server side, I generate client token with customerId, which causes that dropin is showing customer's saved payment methods (credit cards).

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).

在此处输入图片说明

I've tried to override some CVV fields, but it doesn't effect saved credit cards.

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?

I think you should enable cvv rules from your Control Panel

  1. Log into the Control Panel
  2. Navigate to Settings > Processing > Fraud Tools
  3. Under AVS or CVV, click Options
  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
  5. Click Save

More information here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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