From b856fdc5255401231dffbf9a65a1a370e322eccd Mon Sep 17 00:00:00 2001 From: Brad Clow Date: Fri, 24 Sep 2021 10:10:14 +1000 Subject: [PATCH] Fix class not found error on checkout page Class Zip\Model\CurrencyUtil not found error from isRedirectCheckoutDisplayModel function when called from Block/Checkout/Script.php. --- app/code/community/Zip/Payment/Helper/Data.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/code/community/Zip/Payment/Helper/Data.php b/app/code/community/Zip/Payment/Helper/Data.php index c5cdbcd..d2b7cc3 100644 --- a/app/code/community/Zip/Payment/Helper/Data.php +++ b/app/code/community/Zip/Payment/Helper/Data.php @@ -9,6 +9,10 @@ class Zip_Payment_Helper_Data extends Mage_Core_Helper_Abstract { + public function __construct() + { + include_once Mage::getBaseDir('lib') . DS . 'Zip' . DS . 'autoload.php'; + } /** * get config model