From 9a73602c09bf457526ecf95bf6a31c7ca1d94244 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 5 Jul 2021 10:32:26 +1000 Subject: [PATCH] Fixes for base driver --- app/PaymentDrivers/PayFastPaymentDriver.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFastPaymentDriver.php b/app/PaymentDrivers/PayFastPaymentDriver.php index 8c7b80ce4e7b..7e449bbee6d9 100644 --- a/app/PaymentDrivers/PayFastPaymentDriver.php +++ b/app/PaymentDrivers/PayFastPaymentDriver.php @@ -19,6 +19,7 @@ use App\Models\SystemLog; use App\PaymentDrivers\PayFast\CreditCard; use App\Utils\Traits\MakesHash; use \PayFastPayment; +use Illuminate\Http\Request; class PayFastPaymentDriver extends BaseDriver { @@ -138,7 +139,7 @@ class PayFastPaymentDriver extends BaseDriver return md5( $getString ); } - public function processWebhookRequest(PaymentWebhookRequest $request, Payment $payment = null) + public function processWebhookRequest(Request $request, Payment $payment = null) { nlog($request->all());