Add square webhook tests

This commit is contained in:
David Bomba 2023-08-20 21:33:23 +10:00
parent cb539d5caa
commit 5334a9ab87

View File

@ -362,7 +362,8 @@ class SquarePaymentDriver extends BaseDriver
public function processWebhookRequest(PaymentWebhookRequest $request) public function processWebhookRequest(PaymentWebhookRequest $request)
{ {
nlog("square webhook {$request->all()}"); nlog("square webhook");
nlog($request->all());
$signature_key = $this->company_gateway->getConfigField('signatureKey'); $signature_key = $this->company_gateway->getConfigField('signatureKey');
$notification_url = $this->company_gateway->webhookUrl(); $notification_url = $this->company_gateway->webhookUrl();