cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9 - Payment Gateway Success page empty or error

Magento 1.9 - Payment Gateway Success page empty or error

I am using Paytm & Payubiz payment gateway for my Magento 1.9 website, from the day before to still now most of the customer said amount debited but success page is empty

One of the customers share the error screenshot:

 

https://snipboard.io/kb82qG.jpg

 

Note : I spoke to Payment Gateway developer regarding this issue they told, our end everything ok, pls check your code. Log error also not related to this error

3 REPLIES 3

Re: Magento 1.9 - Payment Gateway Success page empty or error

Hi @GTA_giri 

 

Please share the code from line 110-130 for the file (app/code/core/Mage/Payment/Helper/Data.php) shared in error, it's issue because of customised code.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Magento 1.9 - Payment Gateway Success page empty or error

@gaurav_harsh1 

 

    /**
     * Retrieve payment information block
     *
     * @param   Mage_Payment_Model_Info $info
     * @return  Mage_Core_Block_Template
     */
    public function getInfoBlock(Mage_Payment_Model_Info $info)
    {
        $blockType = $info->getMethodInstance()->getInfoBlockType();
        if ($this->getLayout()) {
            $block = $this->getLayout()->createBlock($blockType);
        }
        else {
            $className = Mage::getConfig()->getBlockClassName($blockType);
            $block = new $className;
        }
        $block->setInfo($info);
        return $block;
    }

Re: Magento 1.9 - Payment Gateway Success page empty or error

@gaurav_harsh1 Any help thanks.