Shopping Basket not cleared after successful order

Posted By pcotgrove Tue 2 Apr 2013
Add to Favorites0
Author Message
pcotgrove
 Posted Tue 2 Apr 2013
Supreme Being

Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)

Group: Forum Members
Last Active: Sat 18 May 2013
Posts: 0, Visits: 57
When proceeding through the checkot and paying for an order via PayPal successfully (Payment Reference is received and IPN is valid & sent on PayPal site) I would expect the shopping basket to be reset.

However the contents of the basket remain - have I missed a setting or is this behaviour not expected?

Thanks
Paul
 Posted Wed 3 Apr 2013
große Käse

große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
I think previously we did wipe the basket in checkoutcomplete.aspx, but some payment systems send a user there if they bail out, and so others had commented that they didn't want the basket wiped.

There is a switch you can pass any page to wipe the basket, which is

strWipeBasket=yes

So setting the return URL in paypal to

http://www.mysite.xyz/CheckoutComplete.aspx?strWipeBasket=yes

should clear it on return


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
pcotgrove
 Posted Wed 3 Apr 2013
Supreme Being

Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)Supreme Being - (19,726 reputation)

Group: Forum Members
Last Active: Sat 18 May 2013
Posts: 0, Visits: 57
Thanks for the update Paul - one more thing regarding PayPal

The user guide states that you should not specify a return URL when enabling the IPN within the payment settings, however PayPal doesnt appear to allow you to configure IPN without a URL which means that there is a one to one relationship between each shopping cart system and PayPal account.

Have I misse a trick here or have PayPal changed their requirements since the User guide was written?
Paul
 Posted Wed 3 Apr 2013
große Käse

große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)große Käse - (523,152 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
I think PP might have changed their requirements... they often seem to move things about in their panel too, so the instructions always seem to go out of date quickly.

Certainly you use to be able to have the return URL sent through with the order, and then they'd call that one back if the value in PP's settings was blank. It meant you could use the same PP account with multiple sites, and they'd know which sites to callback and return to because those values would go through with each order.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top