Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Snickser committed May 14, 2024
1 parent 508ae25 commit c06b163
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@
$xmlresponse = $curl->get($location, $options);
$response = xmlize($xmlresponse, $whitespace = 1, $encoding = 'UTF-8', $reporterrors = true);
$err = $response['OperationStateResponse']['#']['Result'][0]['#']['Code'][0]['#'];
$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 c06b163

Please sign in to comment.