Skip to content

Commit

Permalink
Merge pull request #90 from angelleye/PFWMA-224
Browse files Browse the repository at this point in the history
$0.00 Orders Failing in Parallel Payment, PFWMA-224
  • Loading branch information
kcppdevelopers authored Apr 26, 2021
2 parents 8c5ff20 + 49ffe14 commit 8831431
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {


Expand Down

0 comments on commit 8831431

Please sign in to comment.