- Posts: 48
- Thank you received: 0
Re: Cart empties when user cancels paying with PayPal
Shopping carts usually empty the cart when user returns from PayPal to final page.
And at the same time the user receive a bill. I don't know if PayPal sends a special code (in http) or not.
It is not possible to do it in the same way?
Couldn't be for example a final page on the site, and when user returns to it, only that time the cart empties, user gets thank you message and he gets a bill?
Thanks.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So that means that it is not possible at the moment.
Sure it would be better for me to have this option, but at the moment is not such a problem as the site I am working on doesn't have a lot of products.
I hope it will be possible in the near future.
Best
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
I agree with you.
I hope the guys (nicolas & co.
Best to all.
Please Log in or Create an account to join the conversation.
What about when the user finishes the payment and does not return to the store with the link ?
He would still have his cart attached to his account when logging in next time since it is linked to his account, which is strange as well. Plus if you have only one payment method displayed, when the person clicks on cancel, it means that it REALLY want to cancel. That's partly why we did it that way.
As I said, it would require an option to change the behaviour according to what you want. But so far, we had two users complaining about the way it's done for tens of thousands using HikaShop, so it doesn't sound so illogical...
Anyway, We'll look at handling that in next release or the one after.
Please Log in or Create an account to join the conversation.
I agree entirely with cliffvt's comments. I have encountered this problem. As soon as you click "next" and confirm the order the cart empties which we have discovered while developing the EPDQ payment plugin. Surely the cart should not empty until the payment has been accepted. So we have the problem that the card is declined but we cannot recover the cart to try again. We have currently stopped our work on this plugin until this improved. Our live shops (which are based on ECJC shop, now JHShop) do not have this problem. If the payment is cancelled or something goes wrong with the payment, and believe me they do, the cart must be available again.
I would say this is quite a serious issue that needs to be resolved urgently.
Please Log in or Create an account to join the conversation.
In this way you will know the process of payment has really finished.
So you/HikaShop can send him a bill and empties the cart.
I don't know how does PayPal deal with this. But it seams logical to me.
(By the way I think PayPal is one of the most important payment plugin for HikaShop. It needs a special care.)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
But this technic possible with paypal normal as the order has to be created before the user is redirected to paypal.
To cut the discussion short, we'll look at that soon.
Please Log in or Create an account to join the conversation.
If there is anything I can do circumvent this problem easily let me know. If if requires your review the checkout work flow I'll wait until you have some concrete news.
Please Log in or Create an account to join the conversation.
Then, put that code in your plugin to remove it. However, you can remove the data of the session of the user in the onPaymentNotification if the notification is done server to server. But removing the cart from the database should be enough.
Please Log in or Create an account to join the conversation.
We're eager to get feedbacks from you on that.
Please Log in or Create an account to join the conversation.
Sorry I was too busy and I didn't have time to handle this. I will try it as soon ss possible.
Thank you very much for this.
Please Log in or Create an account to join the conversation.
If customer cancels for example PayPal payment it returns to cart (checkout) without being emptied.
I like it!
(I didn't test it yet what happens when customer pays with "PayPal".)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think the option you're searching for is "Clean cart when order is" via "Hikashop->System->Configuration->Main".
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.