• Resolved John

    (@jrnielso)


    Add Param to switch true/false failOnDuplicatePaymentMethod In Settings. I am having to manually change this in the plugin so please add this as a dynamic option that I can set to True/False.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter John

    (@jrnielso)

    The setting in question which I currently need to manually change is in file /wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/api/requests/abstract-wc-braintree-api-vault-request.php

    The setting:
    ‘failOnDuplicatePaymentMethod’ => true,

    This needs to be set to false if you want to allow duplicate cards in the vault.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hey @jrnielso

    It’s recommended to use the wc_braintree_api_request_data filter to adjust that parameter as you see fit. The default expectation is for there to be an error if the same card is added to two different users.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Param to switch true/false failOnDuplicatePaymentMethod In Settings’ is closed to new replies.