I am working on an E commerce web site. We are storing most of the cart details on PHP Sessions.The problem what we are facing is when the customer coming to our website and select any item..... Once he selected the item he left the page for sometime (This will be greater than default session time) and customer is paying the amount after sometime ...What is happening is customer is paying the amount and the amount get deducted from his bank account. When he return bank to our site all the session will get unset...so the database update is not happening ...so my question is
How i can solve this problem ?
What are the best ways and what are the common practices other companies are following ?
Thanks in advance