• Resolved dewolfe001

    (@dewolfe001)


    Braintree has accounts available in different currencies.
    We have a site that needs to accept USD and CAD accounts.
    https://docs.woocommerce.com/document/woocommerce-gateway-paypal-powered-by-braintree/#section-12 — those are the rules for USD descriptors with an asterisks separator.

    CAD descriptors need 22 characters of only letters and numbers.

    I am getting this error:
    [message] => Descriptor name must be 22 characters or shorter and can only contain letters and numbers.

    Is there a way to vary the descriptors so that a CAD fund transaction has a CAD descriptor; and a USD fund transaction has a USD descriptor? I cannot get a read of where in the code I would need to put in new fields for the other currencies.

    Thanks in advance,

    Shawn

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor SkyVerge

    (@skyverge)

    Hey @dewolfe001!

    Thanks for contacting us about our PayPal Powered by Braintree gateway plugin! I’m happy to help out ??

    For the dynamic descriptors that appear on the statement, it’s not currently possible to change the descriptor when switching between currencies in the plugin settings. The plugin takes the dynamic descriptors from the associated fields in the plugin settings.

    It might be possible with custom code by using a filter, though I’m afraid customizations aren’t covered directly under our support policy. If you have a developer resource and would like to pursue this further, we’d be happy to answer any specific questions you may have. Additionally, if you don’t have a developer available, we’d be happy to provide some recommendations.

    In the meantime, I’m happy to log a feature request on your behalf! These are passed to our product team for review. I can’t guarantee that this will make it onto our development roadmap, as we base our product improvements on a number of factors, including how many times we receive a particular request. I’d recommend keeping an eye on the changelog, and?checking out our email newsletter, as we send out regular development updates.

    Is there anything else I can help you with?

    Thanks!?
    Kristy

    • This reply was modified 5 years, 1 month ago by SkyVerge.

    Hi @dewolfe001,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you,
    Joey

    Thread Starter dewolfe001

    (@dewolfe001)

    Mark it as resolved. Until the feature is in place, the workaround is to directly edit the database to insert a compliant descriptor. It means until this is change (relaxed form validation; or adding in more acceptable variants into the validation test; or tying the descriptor to the account (aka multiple descriptor fields)), the form validation prevents a valid descriptor from being accepted. It means USD accounts from US businesses can use Braintree. USD accounts from Canada cannot.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dynamic Descriptor For Different Accounts’ is closed to new replies.