Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Technical Support / Bugs Ticket #1052

easycheckout - Error message during registration

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

J2Commerce

Version
J2Store/J2Commerce v4

Conversation

Peter Vortkamp

Hi Olivier,

I have just noticed that the following error message also appears when registering a new customer "The most recent request was denied because it had an invalid security token. Please refresh the page and try
again"
and not just when an already registered user logs in. This problem was caused by not updated overrides (ticket #992). Peter
Olivier Buisard Staff

Peter,

I am stuck on this, I will retry tomorrow. This has nothing to do with overrides, it is deeper than that.

From what I see, when the user is created 'on-the-fly' from the form, Joomla recreates a token and since the page is not refreshed, the tokens on the page are now different from Joomla's, hence the error. 

It was working before because there was no check on the token, but now we enforce it. 

Users are created even the error occurs and when the page refreshes, the flow can resume.

I am trying to find a solution that does not require human interaction.

Olivier.

Peter Vortkamp

Hi Olivier,

Thank you for your prompt and tireless efforts!
As we’ve noticed that customers were abandoning the checkout process after seeing this error message rather than reloading the page, we’ve disabled EasyCheckout on our live site today and reactivated the standard checkout process. However, the error message is still appearing. So it doesn’t seem to be an issue with EasyCheckout. Just letting you know – though you were probably already aware of this.
Peter

Olivier Buisard Staff

Hi Peter,

I have fixed both Easy Checkout and the main app.

What I would suggest is to restore Easy Checkout on your live site until the core is released.

I will release Easy Checkout in a bit, so after installing it, it should work properly for guests.

I apologize for the inconvenience.

Olivier.

Peter Vortkamp

Hi Olivier,

seems to work properly now, thanks a lot!

Peter