Merge pull request #2 from jaafit/master

Pull Japhet's latest fixes
This commit is contained in:
bitpay 2012-11-02 11:46:13 -07:00
commit 0cba29b9e9
4 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class Bitpay_Bitcoins_IndexController extends Mage_Core_Controller_Front_Action
foreach($order->getInvoiceCollection() as $i)
$i->pay()
->save();
$order->setState($order::STATE_PROCESSING, true)
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true)
->save();
break;
}

View File

@ -8,6 +8,6 @@ switch($url){
case false:
echo 'Error creating invoice. Please try again or try another payment solution.'; break;
default:
echo '<iframe src="'.$url.'" width="600" height="150"> </iframe>'; break;
echo '<iframe src="'.$url.'"> </iframe>'; break;
}
?>