Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
georgmaisser committed Nov 13, 2024
1 parent 1ed5e99 commit 0b42abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/external/transaction_complete.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@ public static function execute(string $component, string $paymentarea, int $item
}
} else {
$success = false;
$message = get_string('payment_error', 'paygw_unigraz') . " " . strval($orderdetails);
$message = get_string('payment_error', 'paygw_unigraz') . " " . var_export($orderdetails);
}
} else {
// Could not capture authorization!
$success = false;
$message = get_string('cannotfetchorderdatails', 'paygw_unigraz') . " " . strval($orderdetails);
$message = get_string('cannotfetchorderdatails', 'paygw_unigraz') . " " . var_export($orderdetails);

// We need to transform the success url to a "no success url".
$url = str_replace('success=1', 'success=0', $successurl);
Expand Down

0 comments on commit 0b42abb

Please sign in to comment.