refactor(billing): make trial toggle fixed in trypost config
Keep the trial card requirement switch as a plain boolean in config/trypost.php so changing the app flow is a single in-repo config edit without env wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
3611e882b4
commit
e8fcbfa230
2 changed files with 1 additions and 5 deletions
|
|
@ -168,10 +168,6 @@ AI_AUDIO_PROVIDER=elevenlabs
|
|||
# Stripe (Cashier — billing)
|
||||
# ============================================
|
||||
# Required when SELF_HOSTED=false. Get keys at https://dashboard.stripe.com/apikeys
|
||||
# Trial behavior:
|
||||
# - true => require card at checkout to start trial
|
||||
# - false => grant a signup trial without card
|
||||
BILLING_REQUIRE_CARD_FOR_TRIAL=true
|
||||
STRIPE_KEY=
|
||||
STRIPE_SECRET=
|
||||
STRIPE_WEBHOOK_SECRET=
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
'billing' => [
|
||||
'require_card_for_trial' => env('BILLING_REQUIRE_CARD_FOR_TRIAL', true),
|
||||
'require_card_for_trial' => true,
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue