Welcome Guest, Not a member yet? Register   Sign In
Shopping carts and payment gateways
#1

[eluser]megabyte[/eluser]
I have a shopping cart system set up for users on my site. They have to be logged in to purchase products.

Then when they check out they are sent to beanstreams hoated payment page, so they leave the website, then get returned there after the credit card processing.


My question is this.

My session expire is set for 7200 seconds, now what are the chances that a user would make a purchase and then be returned to the website and be logged out because the session has expired?


Is this a possibility I need to worry about?

If so, how do you handle it.

I'm just looking for some advice.

Basically trying to make the entire process bullet proof.

I'm storing the cart contents in a session, and on success when they are returned to the website, the cart is then inserted into a table called purchases. So if the session had expired the cart contents would not be available.

I am of course using codeigniter and this isnt just a general php question. Tongue

Also, I am storing the session data in a db.


Messages In This Thread
Shopping carts and payment gateways - by El Forum - 08-29-2009, 06:22 PM
Shopping carts and payment gateways - by El Forum - 08-29-2009, 11:16 PM
Shopping carts and payment gateways - by El Forum - 08-30-2009, 03:17 AM
Shopping carts and payment gateways - by El Forum - 08-30-2009, 06:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB