Support

Home Forums Pre-Sales EE4 Multiple Merchant Accounts

EE4 Multiple Merchant Accounts

Posted: December 1, 2015 at 4:24 pm


Josh

December 1, 2015 at 4:24 pm

I have Infusionsoft and I am planning to use the EE4 Infusionsoft add-on to handle payments, however I need different events to utilize different merchant accounts. Does the EE4 Infusionsoft add-on allow me to set up multiple merchant accounts.


Jonathan Wilson

December 1, 2015 at 4:47 pm

Hey Josh,

First off, our Infusionsoft integration does not include payment processing functionality. You will need to use a separate gateway, such as our Paypal integration, or the Stripe gateway.

Secondly, we don’t have functionality for using different gateways for different events.


Jonathan Wilson

December 1, 2015 at 4:54 pm

Hi Josh,

I did want to let you know that we are in the planning stages of developing the Infusionsoft payment gateway for EE4. Since this is in the very early stages, I do not have an estimated time of completion of when it will be available.


Josh

December 2, 2015 at 8:01 am

Hey Jonathan,

Thanks for the reply, so even using strip as the payment gateway, we would not be able to use multiple payment gateways for the different events?


Josh

  • Support Staff

December 2, 2015 at 8:39 am

You a set up events to use specific gateways by using the Payment methods pro add-on. Currently the add-on is available for free as a download from github:

https://github.com/eventespresso/eea-payment-methods-pro/archive/master.zip


Josh

December 2, 2015 at 9:19 am

Ok Josh,

I installed the add on but it seems this still limits you to the four payment gateways available on EE4 bank, Check, Invoice, and paypal Standard.
I can still not do 3 paypal account or 2 banks and so on?


Josh

  • Support Staff

December 2, 2015 at 10:59 am

The add-on is for specifying one gateway for a specific event. If you want to set a specific PayPal account for one event, there’s a code snippet you can add to your site that will let you set the PayPal ID as a meta key value in the event editor. Here’s a link to the code in our library:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/jf_ee_paypal_account_meta_key_override.php

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Brad Richecoeur

December 7, 2015 at 2:27 am

Hi
So can you just confirm that there is no way currently of being able to connect individual Events to different Stripe accounts? We have 3 Stripe accounts and need to connect a specific Event to a specific Stripe account.
Thanks

EE4
WP3


Josh

  • Support Staff

December 7, 2015 at 12:03 pm

No I cannot confirm that, because there is a way to connect individual Events to different Stripe accounts.


Brad Richecoeur

December 8, 2015 at 12:46 am

Hi Can you direct me to where I can find the solution for this please as I have not yet been able to find this information? We have implemented the ‘include_payment_method’ as Custom Fields to see that we can choose PayPal or Stripe for individual events but how do we choose specific Stripe accounts please?
Thanks


Josh

  • Support Staff

December 8, 2015 at 9:09 am

Hi Brad,

To specify more than one unique Stripe account you’ll need to use the Master branch of Event Espresso 4 from github (currently version 4.8.27 Release Candidate). Along with that, you’ll need the feature branch of the Payment Methods pro add-on that’s labeled FET-9100-multiple-payment-methods-of-same-type and can be downloaded here:

https://github.com/eventespresso/eea-payment-methods-pro/tree/FET-9100-multiple-payment-methods-of-same-type

Once you have the above activated on your site, you will see a new option on the Payment Methods settings page that says “Activate another {name of method} Payment Method”. When you click it, you will be able to configure another account that can be used.

Important: Once the FET-9100 branch is merged to Master, you will need to switch to use the Master branch of the Payment Methods Pro add-on.


Brad Richecoeur

December 8, 2015 at 9:32 am

Hi Josh
Thanks for this. We have EE4 installed so what is the best way to upgrade to the EE version you mention? Do you have the github link for the EE version please?
Thanks


Josh

  • Support Staff

December 8, 2015 at 3:08 pm

I can give you a link to the project page for Event Espresso 4. Right now the support for multiple merchant accounts is in Master, so the next update release (4.8.27) will also include that support.

https://github.com/eventespresso/event-espresso-core/


Brad Richecoeur

December 9, 2015 at 7:38 am

Hi I have installed the ‘core’ plugin and ‘multiple payment methods of same type’ plugin from github. The button “Activate Another Stripe_Onsite Payment Method” appears but when I click on it I just get a totally white screen and I have to use the ‘Back’ browser button to access the site again?! Any ideas or help with this please?
Thanks


Tony

  • Support Staff

December 9, 2015 at 7:56 am

Hi Brad,

If you enable WP_DEBUG and get to that whitescreen again, it should show an error message, can you post that here please?


Brad Richecoeur

December 9, 2015 at 8:18 am

Here you are:

Fatal error: Call to undefined method EE_Payment_Method_Manager::activate_and_initialize_payment_method() in /home/sites/qigong-southwest.co.uk/public_html/wp-content/plugins/eea-payment-methods-pro-FET-9100-multiple-payment-methods-of-same-type/EED_Payment_Methods_Pro_More_Payment_Methods.module.php on line 204

Thanks


Josh

  • Support Staff

December 9, 2015 at 10:02 am

Hi Brad,

The error you’re seeing is the result of having an out of date version of the FET-9100 branch. You can download a current copy from the github repository. Once you have a fresh copy, you can remove the old copy from your site and replace it with the up to date one.

https://github.com/eventespresso/eea-payment-methods-pro/tree/FET-9100-multiple-payment-methods-of-same-type

Your copy does not have the commit that’s dated Dec 7, which currently is the last commit list here:

https://github.com/eventespresso/eea-payment-methods-pro/commits/FET-9100-multiple-payment-methods-of-same-type


Brad Richecoeur

December 9, 2015 at 10:21 am

Great, thanks for the support.


Brad Richecoeur

December 10, 2015 at 4:57 am

Hi
I have gone through and installed all the plugins, activated ‘Another Stripe Account’, input “include_payment_method”, and the value of the payment method’s ADMIN name within a new Custom Field.
In Payment Methods I have checked the box ‘Only Specific Events’. But when I go to test this on an Event, at the Registration Checkout we are given both Stripe payment methods when we only want one showing? In the Event Custom Field I have only set up one Custom Field for ‘Stripe’ (the other account Admin name is ‘Stripe 2’).
How can we get this to work so that only one option is showing?
Thanks


Brad Richecoeur

December 10, 2015 at 5:02 am

Hi
Following on from the previous Post there is another, maybe related issue. We then went through to Test the final payment process and the Stripe payment pop-up appeared and was processed (green tick) but then a pop-up appeared saying payment had failed and gave us this message:
“The following errors have occurred:
No such token: tok_17GSk0JCGXmQybvkKaSVDjt
EE_SPCO_Reg_Step_Payment_Options . _ validate_payment – 1507

No such token: tok_17GSk0JCGXmQybvkKaSVDjt
EE_SPCO_Reg_Step_Payment_Options . _ process payment status – 1664

Any ideas please?!
Thanks


Josh

  • Support Staff

December 10, 2015 at 1:06 pm

Hi Brad,

But when I go to test this on an Event, at the Registration Checkout we are given both Stripe payment methods when we only want one showing?

It sounds like you need to uncheck the box next to Front-end Registration Page for Usable From? for both of your Stripe gateways. While you’re in there updating the payment methods, can you set the Open By Default to Yes? That can help make sure the Stripe gateway’s scripts are initialized correctly when the payment checkout step loads up.


Brad Richecoeur

December 11, 2015 at 2:05 am

Hi Both of those are unchecked. I Have ‘Only Specific Events’ checked. I then tried with ‘Admin Registration Page’ checked and unchecked on both Stripe accounts but this made no difference. Still nothing changed.
I also did as you suggested as regards ‘Open By Default’ but I got the same payment error message as before and an email saying Payment Failed.
It feels like this option to have two Stripe accounts is not going to work unless you can suggest any other solution? We really need to get these Events Live asap.
Thanks


Josh

  • Support Staff

December 11, 2015 at 8:00 am

Hi Brad,

I’ve tested this and it’s working on my test site. Can you check something? With both Stripe gateways set to “Only Specific Events”, you create a test event that has a paid ticket. Then you do a registration test. When you get to the payment options step, do any payment methods display?


Brad Richecoeur

December 14, 2015 at 2:44 am

Hi
In Payment Methods both ‘Stripe’ accounts were set up with “only Specific Events” checked and no other boxes checked, I then set up a new Test event, inserted “include_payment_method” and the Admin name of the Stripe account and at the checkout there are still two payment methods showing.
I then tried the above but with “Admin Registration Page” checked as well and the same occurred and also when “Front-end Registration Page” was checked instead but again there were two options.
And when I followed one of the Payment options I still get the Payment Failed message.
So I have no idea why our system is not working if yours is?!
We are using WP4.4 with the Genesis Framework which is a very solid well built system.
Thanks


Josh

  • Support Staff

December 14, 2015 at 8:25 am

Hi Brad,

We can investigate and find the cause of why it’s not working on your site if you can fill out the form on this page completely:

https://eventespresso.com/send-login-details/


Josh

  • Support Staff

December 14, 2015 at 2:12 pm

Hi there,

I got those straightened out. You’ll note that the first Stripe payment method has Stripe_original for its Admin-Only name, and Stripe_two is the admin name for the second one.

I then updated the test event to use Stripe_original and checked the test event and it’s showing the first Stripe payment method only now.

We’re working on making the UI easier for selecting payment methods so that instead of typing out the meta key/value in the event editor, you can select them in their own metabox on the event editor page. I invite you to keep an eye on the FET-9102-payment-methods-metabox-on-event-editing-page branch and once that’s done, it will be merged to the Master branch.


Brad Richecoeur

December 15, 2015 at 2:04 am

Hi
Fantastic. Many thanks for resolving this; I have tested a full User journey and all has worked smoothly so far.


Josh

  • Support Staff

December 15, 2015 at 8:19 am

You’re welcome. Please be sure to keep an eye out for some updates to the Master branch, and I’ll make a note to update this thread when they are ready.

The support post ‘EE4 Multiple Merchant Accounts’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso