diff --git a/commerce_cardonfile.module b/commerce_cardonfile.module index 54c2a58..7e0e64a 100644 --- a/commerce_cardonfile.module +++ b/commerce_cardonfile.module @@ -1241,7 +1241,7 @@ function commerce_cardonfile_order_charge_card($order, $charge = array(), $card // process return from gateway module // Backwards compatibility: returned value can be a boolean FALSE or a // specified failure code. - if ($method_return === FALSE || !in_array($method_return, array(COMMERCE_PAYMENT_STATUS_SUCCESS, COMMERCE_PAYMENT_STATUS_PENDING))) { + if ($method_return === FALSE) { // Failure $response['status'] = FALSE; // If the returned value doesn't specify the failure code, save a generic