I created a custom module to add VISA IPG on the Magento Payment methods. All is working when used on our Dev Site, but when I deployed it on the Staging Server, an error occurs. The error is shown below.
Fatal error: Call to a member function getMethodInstance() on a non-object in /home/harveyno/public_html/staging/app/code/core/Mage/Payment/Helper/Data.php on line 119
The template I used to add a payment method is on link below.
It’s still working on the Dev Site, only on the Staging server that error shows. I hope someon can help me, thanks.