Vantiv / litle-integration-magento

Magento Integration for Vantiv eCommerce
https://developer.vantiv.com/community/ecommerce
MIT License
6 stars 10 forks source link

Links to reporting are broken #5

Closed GregDake closed 10 years ago

GregDake commented 11 years ago

In version 8.13.3 and 8.14.0, the links under Sales or Dashboard that go to Litle's reporting UI are broken.

The error message I'm getting is: Fatal error: Call to a member function getConfigData() on a non-object in app/code/local/Litle/Palorus/Helper/Data.php on line 41

which is part of the getBaseUrl function:

        public function getBaseUrl()
        {
                $url = Mage::getModel('creditcard/paymentlogic')->getConfigData('url');
                return self::getBaseUrlFrom($url);
        }
krlecarp commented 11 years ago

Curious to know if this has been resolved? 5 months later? Thanks

GregDake commented 11 years ago

Sorry Kyle. I didn't realize anyone else was seeing this. The fix is quite simple if you'd like to apply it yourself and will be in our next extension release.

    public function getBaseUrl()
    {
        $url = Mage::getModel('creditcard/paymentLogic')->getConfigData('url');
        return self::getBaseUrlFrom($url);
    }

Just change the L in paymentlogic to paymentLogic.

krlecarp commented 11 years ago

Thank you

VantivSDK commented 10 years ago

Closing as this is part of 8.15