Support

Home Forums Event Espresso Premium How to specify which 'merchant account id" to use Reply To: How to specify which 'merchant account id" to use

Reply To: How to specify which 'merchant account id" to use

Author Replies
Tony # Posted on May 11, 2018 at 9:12 am

You are correct in that the Payment Methods Pro add-on (PMP for short) will not help with this setup as it stands. You will need an additional option on the Braintree payment method to allow you set the ‘merchant account id’, you could then use PMP to set specific Braintree instances on specific events if needed.

Add this snippet to your site:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/payment-methods/tw_ee_braintree_merchant_account_id.php

I recommend using a custom functions plugin, we have some documentation on how to create one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That snippets adds a ‘Merchant account ID’ field to the Braintree settings form and then uses that value (if set) during the sale call to Braintree, it should allow you to do what you are requesting.

Do NOT follow this link or you will be banned from the site!