Support

Home Forums Event Espresso Premium Stripe – error when click "finalise registration" before "pay now"

Stripe – error when click "finalise registration" before "pay now"

Posted: April 30, 2015 at 12:52 pm

Viewing 11 reply threads


Jonathan

April 30, 2015 at 12:52 pm

Ideally it would not even be possible to do this… but just to see what happens, I tried it and got the error message below. The second-best solution would be to say words to the effect of “Please click on ‘Pay Now’ first”.

What’s the solution to this?

The following errors have occurred:
The payment could not br processed due to a technical issue.
Please try again or contact xx for assistance.
EE_SPCO_Reg_Step_Payment_Options – _handle_payment_processor_exception – 1104
A valid payment was not generated due to a technical issue.
Please try again or contact xx for assistance.
EE_SPCO_Reg_Step_Payment_Options – _validate_payment – 1407
Your payment could not be processed successfully due to a technical issue.
Please try again or contact xx for assistance.
EE_SPCO_Reg_Step_Payment_Options – _process_payment_status – 1565


Tony

  • Support Staff

May 1, 2015 at 6:18 am

Hi Jonathan,

Are you using the latest version of both core and the Stripe Add-on.

The expected behaviour is that the ‘Proceed to Finalize Registration’ button is inactive until payment is made with Stripe. This works on my test sites, I can not click the button at all before making a payment.

Can you open Chrome dev tools and load the page again, check if any JavaScript errors are being thrown within console.


Jonathan

May 1, 2015 at 6:36 am

Yes, latest version of WP, ee4 and stripe add-on.

I’ll check for errors this afternoon.

In the meantime, you could try it out using Firefox (latest version) – thats where I got the error. It happened a few times.


Tony

  • Support Staff

May 1, 2015 at 6:44 am

Sorry I should have clarified what I had tested above.

I tested using Chrome, Firefox and IE. All work as expected.

IE – http://take.ms/C4Z0e
FF – http://take.ms/Hwh8Z

The button is not active an I can not click it.


Jonathan

May 1, 2015 at 6:55 am

Can you find out my website’s url and (without identifying it here) check it out? Maybe it’s a theme thing? I’m not at the computer so can’t look into it myself right now. Thanks


Tony

  • Support Staff

May 1, 2015 at 7:06 am

I can see the issue on your site, but I’m unsure as to what’s causing it.

There are no JS errors so currently I suspect a Theme or plugin conflict.

You can test another theme using the Theme Test Drive plugin, that allows you to switch theme without doing so for all users.

Switch to a default theme such as twenty fourteen and re-test.

If still the same, you’ll need to disable all non EE plugins and retest, then activate each plugin individually and reload the page until the button remain active again.


Jonathan

May 1, 2015 at 9:35 am

I tried with Theme Test Drive using the Twenty Fourteen theme and it was the same.

I tried disabling all plugins (except EE and EE Stripe add-on) and it was the same (with my own theme or Twenty Fourteen).

Then I noticed that

1. When the page loads for the first time, with Stripe as default, it is possible to click “Finalise” before “Pay”.

2. When you click to Paypal, then click back to Stripe again, it is no longer possible to click “Finalise” before “Pay”.

This is the same nomatter what the plugin or theme combination (as above).

Then I thought maybe it was something to do with Stripe being the “open by default” option, so I turned that off.

The situation now is that there are three alternatives, which all work fine:

1. If you click on Stripe, the “Pay Now” button is clickable but the “Finalise” button becomes greyed out 🙂

2. If you click on Paypal it shows the options as normal.

3. If you click on “Finalise” it shows the error: “The selected method of payment could not be determined. Please ensure that you have selected one before proceeding.” Incidentally, it would seem better to hide (or at least grey out) the “Finalise” button until a method of payment has been selected or it is otherwise appropriate to click it.

So, to cut a long story short, I think it’s a bug relating to the situation where Stripe is the “open by default” option. Apologies in advance if I’m wrong!


Tony

  • Support Staff

May 1, 2015 at 11:47 am

Great job on the troubleshooting!

I can confirm that is exactly what it is, if Stripe is set to open by default the finalize button is still available.

I’ll create a ticket for our developers to investigate this.


Jonathan

May 1, 2015 at 2:08 pm

Thank you. It was infuriating but interesting at the same time.


Dean

May 4, 2015 at 5:57 am

Troubleshooting usually is frustrating, but once you figure out the issue, it’s very satisfying!


Torrey Rice

May 4, 2015 at 5:10 pm

I just ran into this myself and as a workaround for the moment I added a script tag at the end of the template for that page and called SPCO.disable_submit_buttons()

This disables the Proceed button as it should have before and then after payment the normal routine picks up and enables it.


Josh

  • Support Staff

May 5, 2015 at 4:06 pm

The Stripe add-on just got an update (version 1.0.5) and it includes a little JavaScript fix for the issue reported in this thread. Enjoy!

Viewing 11 reply threads

The support post ‘Stripe – error when click "finalise registration" before "pay now"’ 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