Support

Home Forums Event Espresso Premium Booking Form won't move on to Confirmation Page. OAuth Error?

Booking Form won't move on to Confirmation Page. OAuth Error?

Posted: April 1, 2016 at 9:02 pm


Jeff Swanger

April 1, 2016 at 9:02 pm

Hi,
We are experiencing problems where the booking form, when submitted, hangs with the cog loading animation indefinitely. Behind the scenes, the booking appears to go through and email messages are triggered and the booking can be seen in the backend – but the user is left hanging and not knowing what is happening.
Inspecting the page console, I am shown the following messages:
URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.
and
Uncaught TypeError: Cannot read property ‘return_data’ of null / single_page_checkout.js?ver=4.8.38.p:846

Now, this was not a problem, and nothing has been changed with the site – so I must presume this issue has been introduced by an update of the plugin – this is the only thing that has changed within the setup.

Any thoughts on how I can go about rectifying this? I have looked through all settings and can’t see any options about OAuth (and not sure what I would do even if I did find one).

thanks
Simon


Jeff Swanger

April 1, 2016 at 9:28 pm

UPDATE – I found the Logging setting and turned on and ran another test. The log showed that there was a problem connecting to Infusionsoft (we use the add-on). I went to the Infusionsoft settings and the application ID and key were gone. Can these be wiped by an update of the add-on plugin?
Anyway – I replaced those and saved, then re-tested. Same problem still there – but now the log is clean of errors.

So that was possibly a side issue, but still VERY concerning.

NOTE – I forgot to mention in my original post, that a yellow bordered alert box does pop-up when you first click to finalise the booking (before it hangs) – but there is no message within it – and it soon fades away by itself.


Josh

  • Support Staff

April 2, 2016 at 2:09 pm

Hi Jeff,

Can you contact your host and ask them to look into the 504 gateway errors that happen on your server? They’re happening on each page load, and the one that’s affecting Event Espresso’s registration checkout is the one that’s happening when the checkout process does an AJAX request.

The OAuth error is likely unrelated and is usually from a plugin that interacts with Facebook Connect.


Jeff Swanger

April 2, 2016 at 8:50 pm

Thanks for that reply, and pointing me in the right direction. My hosting support have informed me that a mod_security rule was interfering. They added an exception to .htaccess. I still get the forever loading problem – but I now get my attendee confirmation email, which before wasn’t firing. (though oddly, the admin one always did). So I wonder if this has cleared up some part of the problem but something else remains?

Also, I now see this in the console, not sure if related:
Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError


Josh

  • Support Staff

April 4, 2016 at 9:17 am

Hi Jeff,

I’m still seeing the Uncaught TypeError: Cannot read property ‘return_data’ of null error. Can you verify whether the error still happens when the Classifieds plugin is disabled? I’m afraid that its older version of the jQuery validate plugin is loading on the registration checkout page and that may be causing some breakage.

The support post ‘Booking Form won't move on to Confirmation Page. OAuth Error?’ 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