By pcotgrove - Tue 2 Apr 2013
|
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
|
By Paul - Wed 3 Apr 2013
|
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
|
By pcotgrove - Wed 3 Apr 2013
|
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?
|
By Paul - Wed 3 Apr 2013
|
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.
|