From 21617b2d7f93510d160484f693e7c283d91b23cf Mon Sep 17 00:00:00 2001 From: Chuks Anoshiri Date: Fri, 5 Aug 2022 15:39:48 +0100 Subject: [PATCH] Update Paystack.php --- src/Paystack.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Paystack.php b/src/Paystack.php index c1a5ea7..a223047 100644 --- a/src/Paystack.php +++ b/src/Paystack.php @@ -285,7 +285,8 @@ public function getPaymentData() */ public function redirectNow() { - return redirect($this->url); + //return redirect($this->url); + return redirect()->to($this->url)->send(); } /**