From 084b81e941ba34442649805a032a4ad69c0b95b1 Mon Sep 17 00:00:00 2001 From: Kendall Arneaud Date: Sat, 27 Jul 2024 12:06:36 -0400 Subject: [PATCH] Update PaymentMethod.php use $payment property value _Originally posted by @turbo124 in https://github.com/invoiceninja/invoiceninja/pull/9704#discussion_r1693677928_ Signed-off-by: Kendall Arneaud --- app/PaymentDrivers/Rotessa/PaymentMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Rotessa/PaymentMethod.php b/app/PaymentDrivers/Rotessa/PaymentMethod.php index beb43e04b03e..ccb5432b0d62 100755 --- a/app/PaymentDrivers/Rotessa/PaymentMethod.php +++ b/app/PaymentDrivers/Rotessa/PaymentMethod.php @@ -185,7 +185,7 @@ class PaymentMethod implements MethodInterface $this->rotessa->client->company, ); - return redirect()->route('client.payments.show', [ 'payment' => $this->rotessa->encodePrimaryKey($payment->id) ]); + return redirect()->route('client.payments.show', [ 'payment' => $payment->hashed_id ]); } /**