diff --git a/inc/functions.php b/inc/functions.php index 534881e..b2a146c 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -33,10 +33,6 @@ function wc_mpesa_post_id_by_meta_key_and_value($key, $value) $reference = $order_id; } - if ($order->get_payment_method() !== 'mpesa') { - return; - } - $type = ($idtype == 4) ? 'Pay Bill' : 'Buy Goods and Services'; ?>