Support

Home Forums Event Espresso Premium Problem with the payment method configuration – Multiple payment gateways

Problem with the payment method configuration – Multiple payment gateways

Posted: January 20, 2017 at 6:57 pm


scwirrel

January 20, 2017 at 6:57 pm

We are currently in the process of integrating our Event Espresso installation with Apple Pay, using Stripe as the payment gateway. We are able to process payments successfully using Apple Pay but an frustrating issue has now occurred now that we have both a “Stripe Apple Pay” payment gateway and the official EE Stripe gateway active at the same time.

If a user selects a payment gateway and then changes it (i.e clicking on Apple Pay then changing to Stripe), a red error box appears saying
“An issue that has appeared There appears to be a problem with the payment method configuration! Please refresh the page and try again or contact support.”
However if the user clicks the gateway again, it opens correctly and a user is able to make payment.

After some investigation, the issue is related to the display_payment_method function of the SPCO JS and AJAX that gets the billing form for the payment gateway using admin-amax.php.

When looking at the AJAX request made by this function, the Ajax data sent is as follows:
step=payment_options&action=switch_spco_billing_form&selected_method_of_payment=bank&reset_payment_method=1&generate_reg_form=1&process_form_submission=0&noheader=1&ee_front_ajax=1&EESID=207f7b1bc534c38537321e41cba34f37&revisit=&e_reg_url_link=

Sometimes this works correctly and sometimes just returns 0, suggesting there is some issue with how EE handles Ajax requests.

To try to isolate the issue, we have deactivated all custom plugins and theme. This issue still persists when using a default WordPress theme, having only official EE plugins active and setting both EE Stripe and Bank Transfer as the active payment methods. Strangely when using our Apple Pay gateway and the Bank Transfer gateway, the issue only occurs when selecting the bank. The issue never occurs when selecting Apple Pay in this scenario. And once the message has appeared once, it never reappears and the user can switch between gateways with no issues.

Assistance with this rather annoying issue would be greatly appreciated.


Garth

  • Support Staff

January 23, 2017 at 10:00 am

Hi,

Can you re-post this question to GitHub along with any code samples so the dev team can take a closer look? github.com/eventespresso/event-espresso-core


scwirrel

January 23, 2017 at 12:57 pm

Hi Garth,

I’ve posted that to GitHub. Can you tell me how long it will take to get a response from a member of the dev team. Obviously this is quite signification issue for us.

Ross Gaskell
Director of Technology, Scwirrel MAS

The support post ‘Problem with the payment method configuration – Multiple payment gateways’ 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