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/integrations/services/Cloudflare.php | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/inc/integrations/services/Cloudflare.php b/inc/integrations/services/Cloudflare.php
index b8b9278..fb4d405 100644
--- a/inc/integrations/services/Cloudflare.php
+++ b/inc/integrations/services/Cloudflare.php
@@ -31,10 +31,15 @@
$site_key = $this->addField('site_key', 'Site Key', 'text', 'manage_options');
$site_key->setRequired();
$site_key->setHint('Public key for Turnstile Widget');
+ $site_key->makeSetUpField();
+ $this->updateField('site_key', $site_key);
+
$secret_key = $this->addField('secret_key', 'Secret Key', 'text', 'manage_options');
$secret_key->setRequired();
$secret_key->setSubType('password');
$secret_key->setHint('Secret key for server-side verification of Turnstile Widget');
+ $secret_key->makeSetUpField();
+ $this->updateField('secret_key', $secret_key);
}
protected function defineInstructions():void
@@ -210,4 +215,8 @@
return;
}
}
+
+ protected function defineActions(): void
+ {
+ }
}
--
Gitblit v1.10.0