Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed Dec 13, 2024
1 parent 53bf69a commit b956b62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lang/en/paygw_cryptocloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
$string['pluginname_desc'] = 'The cryptocloud plugin allows you to receive payments via CryptoCloud.';
$string['privacy:metadata'] = 'The cryptocloud plugin store some personal data.';
$string['privacy:metadata:paygw_cryptocloud:apikey'] = 'ApiKey';
$string['privacy:metadata:paygw_cryptocloud:courceid'] = 'Cource id';
$string['privacy:metadata:paygw_cryptocloud:courseid'] = 'Course id';
$string['privacy:metadata:paygw_cryptocloud:cryptocloud_plus'] = 'Send json data';
$string['privacy:metadata:paygw_cryptocloud:email'] = 'Email';
$string['privacy:metadata:paygw_cryptocloud:groupnames'] = 'Group names';
Expand Down
4 changes: 2 additions & 2 deletions pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
// TODO: Check if currency is IDR. If not, then something went really wrong in config.
$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) && $cost > $config->maxcost) {
$cost = $costself;
}

Expand Down

0 comments on commit b956b62

Please sign in to comment.