PluginProbe
The Innovative Form Builder – IvyForms / 1.5
The Innovative Form Builder – IvyForms v1.5
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
← All changes | backend/src/Services/Payment/PaymentsFeature.php +5 -5 trunk → 1.5 View file →
@@ -2,13 +2,13 @@
2 2
3 3 namespace IvyForms\Services\Payment;
4 4
5 5 /**
6 - * Release gate for Stripe and PayPal.
6 + * Release gate for the payments feature (Square / Stripe / PayPal).
7 7 *
8 - * Square stays "Coming soon" on the Integrations page regardless of this flag.
9 - * While disabled, Stripe and PayPal cards stay "Coming soon" and nothing else can be
10 - * managed: no Payments admin page, no payment settings pages and no Payment Method field.
8 + * While disabled, the payment integration cards stay visible as "Coming soon" on the
9 + * Integrations page, but nothing can be managed: no Payments admin page, no payment
10 + * settings pages and no Payment Method field in the form builder.
11 11 */
12 12 class PaymentsFeature
13 13 {
14 14 public static function isEnabled(): bool
@@ -13,9 +13,9 @@
13 13 {
14 14 public static function isEnabled(): bool
15 15 {
16 16 /** @var mixed $enabled Can be overridden in wp-config.php, so not a compile-time value */
17 - $enabled = defined('IVYFORMS_PAYMENTS_ENABLED') ? constant('IVYFORMS_PAYMENTS_ENABLED') : true;
17 + $enabled = defined('IVYFORMS_PAYMENTS_ENABLED') ? constant('IVYFORMS_PAYMENTS_ENABLED') : false;
18 18
19 19 /**
20 20 * Filter whether the payments feature is exposed in the admin UI.
21 21 *