diff --git a/.env.example b/.env.example index 02edf84c..6d4c3104 100644 --- a/.env.example +++ b/.env.example @@ -171,6 +171,8 @@ AI_AUDIO_PROVIDER=elevenlabs STRIPE_KEY= STRIPE_SECRET= STRIPE_WEBHOOK_SECRET= +# Set to false to allow generic signup trial without requiring a card. +REQUIRE_CARD_FOR_TRIAL=true # Stripe Plan Price IDs (one per plan × interval). Used by PlanSeeder. STRIPE_STARTER_MONTHLY= diff --git a/config/trypost.php b/config/trypost.php index 5b20081b..0b1788ae 100644 --- a/config/trypost.php +++ b/config/trypost.php @@ -28,7 +28,7 @@ */ 'billing' => [ - 'require_card_for_trial' => true, + 'require_card_for_trial' => (bool) env('REQUIRE_CARD_FOR_TRIAL', true), ], /*