diff --git a/admin/class-paypal-for-woocommerce-multi-account-management-admin-express-checkout.php b/admin/class-paypal-for-woocommerce-multi-account-management-admin-express-checkout.php index d38e16d..600f3a6 100644 --- a/admin/class-paypal-for-woocommerce-multi-account-management-admin-express-checkout.php +++ b/admin/class-paypal-for-woocommerce-multi-account-management-admin-express-checkout.php @@ -1371,8 +1371,12 @@ public function angelleye_modified_ec_parallel_parameter($request, $gateways, $o $this->final_payment_request_data[$sellerpaypalaccountid]['taxamt'] = $Payment['taxamt']; } } - array_push($new_payments, $Payment); - $loop = $loop + 1; + if($final_total > 0) { + array_push($new_payments, $Payment); + $loop = $loop + 1; + } else { + unset($this->final_payment_request_data[$sellerpaypalaccountid]); + } } else {