From 27fb820ae9081fb56957cf75e79eccd8a99edd52 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 14 Feb 2026 19:14:48 +0000
Subject: [PATCH] =minor css changes, queue merge logic restructured, and double checking changes actually changed in cRUD.js before sending to server
---
inc/integrations/Square.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/inc/integrations/Square.php b/inc/integrations/Square.php
index 8c0f234..d889bfa 100644
--- a/inc/integrations/Square.php
+++ b/inc/integrations/Square.php
@@ -1887,6 +1887,7 @@
}
$meta->setAll($updates);
+ $meta->save();
// Trigger notification to customer if order is ready
if ($state === 'PREPARED') {
@@ -2338,6 +2339,7 @@
// Save all values at once
$meta->setAll($values_to_save);
+ $meta->save();
}
/**
@@ -3462,6 +3464,7 @@
'created_at' => current_time('mysql'),
'updated_at' => current_time('mysql')
]);
+ $meta->save();
// Index by Square order ID for quick webhook lookups
update_option(BASE . 'square_order_map_' . $order_data['square_order_id'], $order_post_id);
--
Gitblit v1.10.0