← All changes
|
backend/src/Services/Integrations/IntegrationService.php
+7
-7
1.5
→
1.5.1
View file →
| @@ -227,16 +227,16 @@ | ||
| 227 | 227 | } |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | /** |
| 231 | - * Payment integrations (Square / Stripe / PayPal) | |
| 231 | + * Payment integrations. | |
| 232 | 232 | * |
| 233 | - * While the payments feature is not released, the cards are shown as "Coming soon": | |
| 234 | - * no toggle, no settings and no form-builder tab (see PaymentsFeature). | |
| 233 | + * Square stays "Coming soon". Stripe and PayPal follow PaymentsFeature and match | |
| 234 | + * the IvyForms 1.5 / Pro 1.2 release when that flag is on. | |
| 235 | 235 | */ |
| 236 | 236 | private function registerPaymentIntegrations(): void |
| 237 | 237 | { |
| 238 | - $comingSoon = !PaymentsFeature::isEnabled(); | |
| 238 | + $cardPaymentsComingSoon = !PaymentsFeature::isEnabled(); | |
| 239 | 239 | |
| 240 | 240 | $this->registry->register('square', [ |
| 241 | 241 | 'label' => 'square_label', |
| 242 | 242 | 'component' => 'SquareIntegrationSettings', |
| @@ -246,9 +246,9 @@ | ||
| 246 | 246 | 'requiresAuth' => true, |
| 247 | 247 | 'hasGlobalSettings' => true, |
| 248 | 248 | 'plan' => 'lite', |
| 249 | 249 | 'learnMoreUrl' => 'https://ivyforms.com/documentation/', |
| 250 | - 'comingSoon' => $comingSoon, | |
| 250 | + 'comingSoon' => true, | |
| 251 | 251 | ]); |
| 252 | 252 | |
| 253 | 253 | $this->registry->register('stripe', [ |
| 254 | 254 | 'label' => 'stripe_label', |
| @@ -259,9 +259,9 @@ | ||
| 259 | 259 | 'requiresAuth' => true, |
| 260 | 260 | 'hasGlobalSettings' => true, |
| 261 | 261 | 'plan' => 'essentials', |
| 262 | 262 | 'learnMoreUrl' => 'https://ivyforms.com/documentation/', |
| 263 | - 'comingSoon' => $comingSoon, | |
| 263 | + 'comingSoon' => $cardPaymentsComingSoon, | |
| 264 | 264 | ]); |
| 265 | 265 | |
| 266 | 266 | $this->registry->register('paypal', [ |
| 267 | 267 | 'label' => 'paypal_label', |
| @@ -272,8 +272,8 @@ | ||
| 272 | 272 | 'requiresAuth' => true, |
| 273 | 273 | 'hasGlobalSettings' => true, |
| 274 | 274 | 'plan' => 'essentials', |
| 275 | 275 | 'learnMoreUrl' => 'https://ivyforms.com/documentation/', |
| 276 | - 'comingSoon' => $comingSoon, | |
| 276 | + 'comingSoon' => $cardPaymentsComingSoon, | |
| 277 | 277 | ]); |
| 278 | 278 | } |
| 279 | 279 | } |