“Duplicate card exists in the vault” Revisited!
-
I am having the same issue as this issue, but it is not resolved for me.
I have been in touch with Braintree and they say: “This error happens when your PaymentMethod.Create() calls are passing the
FailOnDuplicatePaymentMethod
option astrue
.”This option is being set in the
get_credit_card_options()
function of theWC_Braintree_API_Vault_Request
class on line 73 ofincludes/api/requests/abstract-wc-braintree-api-vault-request.php
.The issue is that because of this option your plugin does not allow users to use the same credit card for multiple WordPress accounts using the same Braintree vault. This is especially a problem if you are using the same Braintree vault for more than one website as we are, or if multiple people (e.g. family members) choose to use the same credit card for different accounts. Both of these scenarios should be aloud.
Please could you change this setting to false, or at least allow users to change it in the settings. Thanks!
- The topic ‘“Duplicate card exists in the vault” Revisited!’ is closed to new replies.