From 58e1854a5d8d4a5c50f49c6bda3606cbf04599c9 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 16 May 2014 01:23:40 -0400 Subject: [PATCH] Removed extra error handler calls --- app/code/community/Bitpay/Bitcoins/Block/Iframe.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/code/community/Bitpay/Bitcoins/Block/Iframe.php b/app/code/community/Bitpay/Bitcoins/Block/Iframe.php index 4630a62..24bbb4c 100644 --- a/app/code/community/Bitpay/Bitcoins/Block/Iframe.php +++ b/app/code/community/Bitpay/Bitcoins/Block/Iframe.php @@ -75,12 +75,8 @@ class Bitpay_Bitcoins_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment { //serialize info about the quote to detect changes $hash = $method->getQuoteHash($quoteId); - Mage::log('invoicing for '.$price.' '.$quote->getQuoteCurrencyCode(), NULL, 'bitpay.log'); - $invoice = bpCreateInvoice($quoteId, $price, array('quoteId' => $quoteId, 'quoteHash' => $hash), $options); - Mage::log($invoice, NULL, 'bitpay.log'); - if (array_key_exists('error', $invoice)) { Mage::log('Error creating bitpay invoice', null, 'bitpay.log'); Mage::log($invoice['error'], null, 'bitpay.log');