Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

feat(billing): add configuration for trial signup card requirement

Paulo Castellano666402c59fe6
diff --git a/.env.example b/.env.example
index 02edf84c5..6d4c31042 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 5b20081b4..0b1788aed 100644
--- a/config/trypost.php
+++ b/config/trypost.php
@@ -28,7 +28,7 @@ return [
*/
'billing' => [
- 'require_card_for_trial' => true,
+ 'require_card_for_trial' => (bool) env('REQUIRE_CARD_FOR_TRIAL', true),
],
/*