From 0b42abb37077dc9d8e1223ad507663b879d097c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georg=20Mai=C3=9Fer?= Date: Wed, 13 Nov 2024 15:20:59 +0100 Subject: [PATCH] Bugfix: Closes Wunderbyte-GmbH/Wunderbyte-GmbH#190 --- classes/external/transaction_complete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/external/transaction_complete.php b/classes/external/transaction_complete.php index cbfcd79..1c0d0aa 100644 --- a/classes/external/transaction_complete.php +++ b/classes/external/transaction_complete.php @@ -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);