Guys
My concern is that there may be a disconnect in logic here, and it is fundamentally wrong for a cart to be empties/cancelled if a user should cancel at PayPal and return to the store - let me explain. It is however correct that a cart empties if a SUCCESSFUL payment was made at PayPal but the subject of this thread says "...when user CANCELS paying with PayPal"
Let's assume I walk into a grocery store, I then spend an hour shopping for various bits and pieces, and then proceed to the cashier at checkout. I present my credit card for payment, and the cashier informs me that my card has been declined. I decide to then pay by cash. What the cashier then DOES NOT DO is then grab my shopping bags from me and place all the groceries back on the shelves, expecting me to start shopping from scratch (for another hour) and then come back to checkout and pay by cash. Usually the cashier will simply cancel the credit card transaction and then accept cash from me.
In the same way, in Hikashop, if a customer for example presses "PayPal" payment method in ERROR and when they get directed to the PayPal payment page and then realises this and presses "Cancel and return to Merchant", when they return to the store (Hikashop) their cart "shopping bags" should still be there and waiting for payment at which time the customer can now choose "Check" or "Cash" or whatever method they meant to have chosen in the first instance!
I have had a number of complaints from our users that they have to restart their shopping if they make this error.
We have 4 e-commerce sites using ZenCart and another system and they both work in this way. Cancelling the "PAYMENT" at PayPal should mean exactly that - cancelling only the PAYMENT, not the whole order.
Thanks
Cliff