Customer Portal > Pay Now Button > Credit Card fee is incorrect #2105

This commit is contained in:
Hillel Coren 2018-06-10 11:34:53 +03:00
parent 16db1135e7
commit 233a326414

View File

@ -318,6 +318,10 @@ class InvoicePresenter extends EntityPresenter
return ''; return '';
} }
if ($invoice->getGatewayFeeItem()) {
return '';
}
$fee = $invoice->calcGatewayFee($gatewayTypeId, true); $fee = $invoice->calcGatewayFee($gatewayTypeId, true);
$fee = $account->formatMoney($fee, $invoice->client); $fee = $account->formatMoney($fee, $invoice->client);