Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 5 of 5
Shopping cart empty after canceling external payment provider (like paypal)
 
Rakesh Dsouza
Jr. Member
 
Total Posts:  21
Joined:  2011-01-09
 

Same like tzept The above solution from Nijhof ultimately did not work for me completely as when i cancel the order on payment gateway the cart does not empty. so far good but in the backend an order is generated.. this is something not good.

someone has a proper solution which works 100%.

I am using magento 1.5.1.0

 
Magento Community Magento Community
Magento Community
Magento Community
 
NMediaSystems
Member
 
Avatar
Total Posts:  56
Joined:  2010-02-18
London
 
PavelPolyakov - 12 January 2011 03:31 AM

Simple module, which overrides the standard Magento behavior, with the help of tracking sales_model_service_quote_submit_after event.
Just copy the app folder to your Magento shop and from that time Magento would not set the Quote to inactive state after it creates the order.

There is one and only line to activate in the code to make it work.

 
Magento Community Magento Community
Magento Community
Magento Community
 
bigal82
Jr. Member
 
Total Posts:  14
Joined:  2010-05-27
 

Does anybody has a working solution for 1.6.2.

i tried everything which was in the posts above not nothing worked for 1.6.2..

so thanks for a reply !

 
Magento Community Magento Community
Magento Community
Magento Community
 
NMediaSystems
Member
 
Avatar
Total Posts:  56
Joined:  2010-02-18
London
 
bigal82 - 09 October 2012 02:55 PM

Does anybody has a working solution for 1.6.2.

i tried everything which was in the posts above not nothing worked for 1.6.2..

so thanks for a reply !

This extension should fix the problem http://www.magentocommerce.com/boards/.../viewthread/199053/P30/#t293617

It fixed it for us, just uncomment the only line in it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
webrod
Member
 
Total Posts:  31
Joined:  2012-09-03
 
NMediaSystems - 09 October 2012 11:02 PM

bigal82 - 09 October 2012 02:55 PM
Does anybody has a working solution for 1.6.2.

i tried everything which was in the posts above not nothing worked for 1.6.2..

so thanks for a reply !

This extension should fix the problem http://www.magentocommerce.com/boards/.../viewthread/199053/P30/#t293617

It fixed it for us, just uncomment the only line in it.

That’s not fully correct.
This only prevents the cart to be emptied.
But this does not prevent the order to be duplicated when the user cancel the payment from the payment web site.

I also notice something important, the cart is never emptied this way, even if you pay with check, or if the payment is validated from the payment service

 
Magento Community Magento Community
Magento Community
Magento Community
 
randini667
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2008-08-06
 

Using the “Persistent Shopping Cart” worked for me in 1.7…

System > Configuration > Persistent Shopping Cart (under Customers)

I enabled persistence, persist shopping cart AND made sure “Clear Persistence on Log Out” is set to [NO].

 
Magento Community Magento Community
Magento Community
Magento Community
 
roblito
Jr. Member
 
Total Posts:  3
Joined:  2012-08-17
 

I’ve tried all solutions in 1.7 and nothing seems to keep the cart contents after payment declined. Does anyone have a definitive answer for 1.7? Tia.

 
Magento Community Magento Community
Magento Community
Magento Community
 
morettier
Jr. Member
 
Total Posts:  7
Joined:  2012-11-25
 

I am using version 1.7.0.2 and we are having the same problem , once a customer decide go back from paypal page they find the cart empty!!
is there a fix for it ? This problem doesen’t help us selling the interprise version if the customer realise there is a problem.  thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
rankingj
Jr. Member
 
Total Posts:  2
Joined:  2014-01-19
 

I am using magento 1.8.1.0 and none of the above suggestions work. Does anybody have a fix for version 1.8.1.0 to get the shopping cart to not empty if the buyer cancels from the PayPal redirect. Any help would be much appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 5 of 5