Skip to content

Commit

Permalink
fix #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed Dec 13, 2024
1 parent dae1659 commit c4e69f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

$cost = helper::get_rounded_cost($payable->get_amount(), $payable->get_currency(), $surcharge);

// Check self cost.
if (!empty($costself)) {
// Check self cost if not fixcost.
if (!empty($costself) && !$config->fixcost) {
$cost = $costself;
}

Expand Down

0 comments on commit c4e69f5

Please sign in to comment.