| @@ -132,9 +132,10 @@ | ||
| 132 | 132 | ] |
| 133 | 133 | ); |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | - $license_key = Stripe_Helper::get_license_key(); | |
| 136 | + // Public checkout request - never block the visitor on a SureCart license call. | |
| 137 | + $license_key = Stripe_Helper::get_license_key( false ); | |
| 137 | 138 | |
| 138 | 139 | // Create payment intent with confirm: true for immediate processing. |
| 139 | 140 | $payment_intent_data = [ |
| 140 | 141 | 'secret_key' => $secret_key, |
| @@ -358,9 +359,10 @@ | ||
| 358 | 359 | if ( ! $customer_id ) { |
| 359 | 360 | throw new \Exception( __( 'Failed to create customer for subscription.', 'sureforms' ) ); |
| 360 | 361 | } |
| 361 | 362 | |
| 362 | - $license_key = Stripe_Helper::get_license_key(); | |
| 363 | + // Public checkout request - never block the visitor on a SureCart license call. | |
| 364 | + $license_key = Stripe_Helper::get_license_key( false ); | |
| 363 | 365 | // Prepare subscription data for middleware. |
| 364 | 366 | $subscription_data = apply_filters( |
| 365 | 367 | 'srfm_create_subscription_data', |
| 366 | 368 | [ |