Jump to content

Internet Explorer creates order twice


serafimsorovsky

Recommended Posts

I run a default installation of Prestashop.

When I place an order with Internet Explorer it creates 2 orders in database.

 

On the order page Internet Explorer makes 2 POST calls of validation controller of the payment module.

I tried few payment modules and the behavior is the same.

 

in the code of PaymentModule::validateOrder there is a check for this situation $this->context->cart->OrderExists()

But 2 calls are made simultaneously so this check is not working.

 

How can I fix this?

Edited by serafimsorovsky (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...