Disable CVV Validation

If CVV validation is enabled in the Braintree console, validation occurs when you attempt to set a payment method as the default. If that payment method does not give a CVV value, an error occurs. You can disable validation in the Braintree Payment Gateway Adapter.

Procedure

  1. Edit the /opt/mtx/conf/payment-service.yaml file.
  2. Set the verifyCard value to false.
    For example:
    payment:
      gateway:
        braintree:
          configs:
            default:
             verifyCard: false
  3. Save and close the properties file.
  4. Restart the Payment Service.
    systemctl restart mtx_payment_service

Results

Now, when using the SubMan APIs, if you attempt to add a payment method as the default that does not have a CVV, Braintree validation does not produce an error for the missing CVV.