Customer Portal > Pay Now Button > Credit Card fee is incorrect #2105
This commit is contained in:
parent
6403cc1bff
commit
b11e0c0176
1 changed files with 4 additions and 0 deletions
|
|
@ -318,6 +318,10 @@ class InvoicePresenter extends EntityPresenter
|
|||
return '';
|
||||
}
|
||||
|
||||
if ($invoice->getGatewayFeeItem()) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$fee = $invoice->calcGatewayFee($gatewayTypeId, true);
|
||||
$fee = $account->formatMoney($fee, $invoice->client);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue