Developer forum

Forum » Ecommerce - Standard features » Cart and Browser Back Button

Cart and Browser Back Button

Nuno Aguiar
Reply

Hi,

 

We are having a problem with some clients, gateways and orders. I know this is an old issue, but someone might hold the answer. Has anyone came accross this issue?

 

  • A user builds a cart and proceeds to the payment gateway
  • The user get's redirected to the gateway page and pays
  • He then (incorrecylt) presses the Browser "back button" (which has a cached version of the page) and goes back to a place where the cart existed
  • He can then add/remove products and the cart get's updated
  • Worse, some users hit the "Clear cart" link, which completly removes the DB record

 

So I reach the "OMG, what should I do?" situation:

  • Should I load the cart through ajax for every page? (quick/summary cart situations)
  • Is there a ajax page/method and/or configuration that will help us avoid this?

 

The general "Prevent Back Button" solutions do not work, due to form submissions.

 

Best Regards,

Nuno


Replies

 
Nicolai Høeg Pedersen
Reply

Is this Cartv2?

 

You must be logged in to post in the forum