From 5334a9ab87e6717ba6e5b4b5cf6b6dd24691ecc6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 20 Aug 2023 21:33:23 +1000 Subject: [PATCH] Add square webhook tests --- app/PaymentDrivers/SquarePaymentDriver.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/SquarePaymentDriver.php b/app/PaymentDrivers/SquarePaymentDriver.php index 40590eeb138a..5496a0d1ca00 100644 --- a/app/PaymentDrivers/SquarePaymentDriver.php +++ b/app/PaymentDrivers/SquarePaymentDriver.php @@ -362,8 +362,9 @@ class SquarePaymentDriver extends BaseDriver public function processWebhookRequest(PaymentWebhookRequest $request) { - nlog("square webhook {$request->all()}"); - + nlog("square webhook"); + nlog($request->all()); + $signature_key = $this->company_gateway->getConfigField('signatureKey'); $notification_url = $this->company_gateway->webhookUrl();