@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Subscription Type
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Cashier stores subscriptions under a "type" key, which lets an
|
||||
| organization hold more than one subscription over time. This
|
||||
| application only needs one, so every plan shares this type.
|
||||
|
|
||||
*/
|
||||
|
||||
'subscription_type' => 'default',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Free Trial
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The number of trial days granted to new subscribers. Stripe requires a
|
||||
| Checkout trial to be at least 48 hours, so anything below two is
|
||||
| effectively ignored. Set to 0 to charge immediately on signup.
|
||||
|
|
||||
*/
|
||||
|
||||
'trial_days' => (int) env('BILLING_TRIAL_DAYS', 14),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Plans
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Each plan needs the Stripe price id of the product you created in the
|
||||
| Stripe dashboard. Plans without a price are treated as unconfigured and
|
||||
| are hidden from the pricing page, so a half-finished deployment shows
|
||||
| nothing rather than a broken checkout.
|
||||
|
|
||||
| Supported: "name", "price" and "interval".
|
||||
|
|
||||
*/
|
||||
|
||||
'plans' => [
|
||||
'pro' => [
|
||||
'name' => 'Pro',
|
||||
'price' => env('BILLING_PLAN_PRO_PRICE'),
|
||||
'interval' => 'month',
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user