Skip to content

Commit

Permalink
tune
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed May 10, 2024
1 parent 6b4bf6f commit 02741af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
if (!empty($costself)) {
$cost = $costself;
}

// Check maxcost.
if ($config->maxcost && $cost > $config->maxcost) {
$cost = $config->maxcost;
Expand Down Expand Up @@ -220,6 +221,7 @@

if (!isset($response->errorCode)) {
redirect($url, get_string('payment_error', 'paygw_cryptocloud') . " (response error)", 0, 'error');
die;
}

if ($response->errorCode) {
Expand Down

0 comments on commit 02741af

Please sign in to comment.