Post by Daniel » Thu Apr 16, 2009 5:32 am

1. Do a fresh install
2. Add Product X to your cart
3. Start checkout and go up to the confirmation page
4. Go back and add Product Y to your cart
5. Go again up to the confirmation page.
6. Log Out of OPC
7. Click on products ordered under "my account" as a customer and it will tell you that you have ordered two pieces of Product X and one of Product Y when actually you have not ordered anything.

Similarly on the admin side, OPC will tell you two pieces of Product X and one of Product Y have been ordered when nothing has been. Putting a filter on the admin will not cure the problem because firstly, the items have a pending status and secondly, it is just treating the symptom rather than the problem.

I have just done what you have said and no orders appear. The only time the orders will apear is if I click the checkout confirm button and leave the web site.

Is that what you mean click the checkout confirm button?

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Dayo » Thu Apr 16, 2009 5:47 am

Daniel wrote: Is that what you mean click the checkout confirm button?
I need to confirm exactly when the order is written to the orders table but I assume it is done when the confirm button is clicked.

I know it seems that this means the order is done but users can get to the payment handler but still go back before payment is actually made. Until they return to the cart after payment, I don't think the order should be written to the final orders table.

Yes, they might get there and close down, but the data will be in the temp table if needed and the fact is that the chances of this happening after going through the flow at the payment handler after paying is far less than aborting otherwise.

New member

Posts

Joined
Thu Nov 13, 2008 3:27 am

Post by Daniel » Mon May 11, 2009 9:00 am

I acutally had changed the order system to the way you wanted it even though experiance told me it was the wrong way.

Well today while i was search thtough the documentation for sagepay and worldpay they both state orders will not be complete if a customer closes his browser down after the system has taken payment.

i think it might be ok for paypal but there are lots that can not use the method you explained. zencart ddoes this and it will lose orders if a customer closes the borowser before being returned tot he store,

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 14 guests