From 715e26a9eb219808d5c899d418e1d596f9318f61 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 22 Jun 2026 16:59:19 +0000
Subject: [PATCH] =Debugging and implementing the Checkout.js logic. Will be uploading to test integration with square next.
---
inc/integrations/Integrations.php | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/inc/integrations/Integrations.php b/inc/integrations/Integrations.php
index ef1a135..cb08b13 100644
--- a/inc/integrations/Integrations.php
+++ b/inc/integrations/Integrations.php
@@ -66,7 +66,7 @@
* Used for UI rendering in admin interfaces
*/
public string $title; // Human-readable service name (e.g., 'Google My Business')
- public string $icon; // Phosphoricons icon slug
+ public string $icon = ''; // Phosphoricons icon slug
/**
* Credentials & State
@@ -2714,6 +2714,15 @@
return $this->title;
}
+ public static function title():string
+ {
+ return (new static())->getTitle();
+ }
+ public static function icon():string
+ {
+ return (new static())->getIcon();
+ }
+
/*********************************************************************
RENDERING
*********************************************************************/
@@ -3535,4 +3544,9 @@
{
return [];
}
+
+ public function getIcon():string
+ {
+ return $this->icon;
+ }
}
--
Gitblit v1.10.0