so heres the skinny... ive already got this thing running and serving products just fine... the only hitch is that its (in my opinion) a little tacky b/c everytime you add a item to your "cart" it takes you to paypal...
so, i want to hold the "cart" on my end and then process through paypal at the end
so heres my setup... its all xml based and driven since theres only about 30-40 products and things rarely change...
that being said heres what, in my mind, makes sense todo
1) user hits the cart
2) we start a session and give it a timeout, say 20 minutes
3) when the user "adds" an item we expand an array stored in the session and bring the user right back to where they were and update the items # in the cart link
4) user clicks check out and are brought to their cart
5) when the cart loads it performs a check to see if the items in a users cart qualify them for any deals or specials being ran... at this point the user is also able to apply a coupon code or enter a gift cert code
6) the user is happy and clicks final check out to paypal and i somehow send the order contents to paypal with the final amount
7) use a call back or detect that we are done with this order and destroy the users session and affectively empty their cart
thats rather quickly how i see it going down
im not looking for code here, just advice and opinions
thanks