From a6413da67a4579866f0fd0323ddb23a7b6b9654a Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 18 Sep 2026 17:00:53 +0000
Subject: [PATCH] =Cleaning up the Integrations setup a bit, started the Helcim integration work too

---
 inc/rest/routes/IntegrationsSquareRoutes.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/inc/rest/routes/IntegrationsSquareRoutes.php b/inc/rest/routes/IntegrationsSquareRoutes.php
index e4ce0e9..2653fa7 100644
--- a/inc/rest/routes/IntegrationsSquareRoutes.php
+++ b/inc/rest/routes/IntegrationsSquareRoutes.php
@@ -81,7 +81,6 @@
 		}
 
 		try {
-			/** @var Square $square */
 			$square = Square::getInstance();
 			if (!method_exists($square, 'getOrCreateSquareCustomer') ||
 				!method_exists($square, 'createSquareOrder') ||
@@ -146,7 +145,7 @@
 			return $this->success($result);
 
 		} catch (Exception $e) {
-			$this->logError('Payment processing failed', [
+			$this->logError('Payment processing failed', 'handlePaymentProcessing',[
 				'error' => $e->getMessage(),
 				'idempotency_key' => $data['idempotency_key']
 			]);

--
Gitblit v1.10.0