Jump to content

Set shopping cart timeout


Recommended Posts

I am developing prestashop ecommerce app for a client (http://cryptosmith.info)... now since user is able to pay via gold/silver (bitGOLD, bitSILVER from bitshares DEX, see bitshares.org) it is price and time sensitive... if user checks out then I want to give them 15 mins to complete the order process. I also created a custom payment gateway for bitshares which will process an order once payment is complete... what is the best method of doing the timeout, in the payment gateway or in the shopping cart via prestashop?

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I have a similiar problem. I have limited stock and people horde products into their carts and others can't purchase things.

 

Did you figure out a way to set a timeout for the cart, so after 10 minutes, the items become unavailble if they are already sold.

Link to comment
Share on other sites

I have a custom payment gateway i created and I ended up doing a timeout with a 15 min timer where I send a cancel order to the backend..

 

http://Cryptosmith.info

 

src: https://github.com/sidhujag/bitshares-prestashop

 

Hi, thanks for sharing!

 

Can you point out the code, sorry I looked through the bitshares.php but it was not obvious how you accomplished cancel order etc.  Probably the 3.5euro reading glasses I had to buy in Spain when my US glasses went kaput. :)

 

Thanks, Fred

Link to comment
Share on other sites

×
×
  • Create New...