Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed May 12, 2024
1 parent 17f3304 commit 85f77ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
$response = xmlize($xmlresponse, $whitespace = 1, $encoding = 'UTF-8', $reporterrors = true);
$err = $response['OperationStateResponse']['#']['Result'][0]['#']['Code'][0]['#'];
if ($err != 3) {
$DB->delete_records('paygw_robokassa', ['id' => $transactionid]);
redirect($url, get_string('payment_error', 'paygw_cryptocloud') . " (Invoice ID check error $err)", 0, 'error');
}

Expand Down

0 comments on commit 85f77ad

Please sign in to comment.