We are using pay u
for our magento site, after installing pay u
when user redirects to pay u
site and click on browser back button without dong payment magento shows error like
Fatal error: Call to a member function getMethodInstance() on a non-object in /app/code/core/Mage/Payment/Model/Observer.php on line 46
but order is already placed with status as 'processing' and after clicking on back button it goes to checkout page showing products in shopping cart.
That menas order is placed and shopping cart is not empty After resolving that issue of observer.php
magento places order twice once with 'processing' status and one empty order. Kindly help with this. Thanks