diff --git a/app/code/community/Bitpay/Core/Block/Info.php b/app/code/community/Bitpay/Core/Block/Info.php index 585e9af..32761bb 100644 --- a/app/code/community/Bitpay/Core/Block/Info.php +++ b/app/code/community/Bitpay/Core/Block/Info.php @@ -18,14 +18,14 @@ class Bitpay_Core_Block_Info extends Mage_Payment_Block_Info if (false === isset($order) || true === empty($order)) { \Mage::helper('bitpay')->debugData('[ERROR] In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the order.'); - throw new Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the order.'); + throw new \Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the order.'); } $incrementId = $order->getIncrementId(); if (false === isset($incrementId) || true === empty($incrementId)) { \Mage::helper('bitpay')->debugData('[ERROR] In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the incrementId.'); - throw new Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the incrementId.'); + throw new \Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the incrementId.'); } $bitpayInvoice = \Mage::getModel('bitpay/invoice')->load($incrementId, 'increment_id');