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