commit
0cba29b9e9
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue