commit
0cba29b9e9
|
@ -34,7 +34,7 @@ class Bitpay_Bitcoins_IndexController extends Mage_Core_Controller_Front_Action
|
||||||
foreach($order->getInvoiceCollection() as $i)
|
foreach($order->getInvoiceCollection() as $i)
|
||||||
$i->pay()
|
$i->pay()
|
||||||
->save();
|
->save();
|
||||||
$order->setState($order::STATE_PROCESSING, true)
|
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true)
|
||||||
->save();
|
->save();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,6 @@ switch($url){
|
||||||
case false:
|
case false:
|
||||||
echo 'Error creating invoice. Please try again or try another payment solution.'; break;
|
echo 'Error creating invoice. Please try again or try another payment solution.'; break;
|
||||||
default:
|
default:
|
||||||
echo '<iframe src="'.$url.'" width="600" height="150"> </iframe>'; break;
|
echo '<iframe src="'.$url.'"> </iframe>'; break;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue