diff --git a/code/Bitpay/BPCheckout/Model/IpnManagement.php b/code/Bitpay/BPCheckout/Model/IpnManagement.php
index b9016cd..516e3e8 100755
--- a/code/Bitpay/BPCheckout/Model/IpnManagement.php
+++ b/code/Bitpay/BPCheckout/Model/IpnManagement.php
@@ -94,18 +94,18 @@ public function postIpn()
$order = $this->getOrder($orderid);
#now update the order
-
switch ($event['name']) {
case 'invoice_completed':
$order->addStatusHistoryComment('BitPay Invoice ' . $order_invoice . ' status has changed to Completed.');
+ $order->setState(Order::STATE_PROCESSING)->setStatus(Order::STATE_PROCESSING);
$order->save();
return true;
break;
case 'invoice_confirmed':
- #pending or pcoressing from plugin settings
+ #pending or processing from plugin settings
$order->addStatusHistoryComment('BitPay Invoice ' . $order_invoice . ' processing has been completed.');
if($bitpay_ipn_mapping != 'processing'):