This commit is contained in:
ct
2025-07-01 20:54:26 +08:00
parent 70898ccd4c
commit 79e7d7a49e
42 changed files with 2742 additions and 97 deletions

View File

@@ -2,4 +2,6 @@
return [
'enable_test_routes' => env('ENABLE_TEST_ROUTES', false),
'authed_route_redirect' => 'home',
];

View File

@@ -0,0 +1,37 @@
<?php
return [
[
'id' => 'ala-500-credits',
'show_in_pricing' => true,
'type' => 'alacarte_credits',
'enabled' => true,
'name' => '500 Credit Packs',
'description' => 'Use credits to automatically generate captions & backgrounds for your memes.',
'amount' => 4,
'currency' => 'usd',
'symbol' => '$',
'system' => [
'credits' => 500,
'stripe' => [
'product_id' => [
'test' => 'prod_SaY9YLBtUR5Ucb',
'prod' => 'prod_XXXXXXXXXXXXX',
],
'current_stripe_price_id' => [
'test' => 'price_1RfN37EEXQJo9EEOb6UCQVEx',
'prod' => 'price_XXXXXXXXXXXXX',
],
'stripe_price_ids' => [
'test' => [
'price_1RfN37EEXQJo9EEOb6UCQVEx',
],
'prod' => [
'price_XXXXXXXXXXXX',
],
],
],
],
],
];

View File

@@ -0,0 +1,134 @@
<?php
// (Personal|Business) (Starter|Creator|Pro)
return [
[
'id' => 'free',
'show_in_pricing' => false,
'type' => 'subscription_plans',
'enabled' => true,
'name' => 'Free',
'amount' => 0,
'currency' => 'usd',
'symbol' => '$',
'primary_interval' => 'month',
'features' => [
[
'text' => 'Unlimited watermarked videos',
'available' => true,
],
[
'text' => 'Memes & Background Libraries',
'available' => true,
],
],
'system' => [
'non_watermark_videos' => 0,
],
],
[
'id' => 'personal-creator',
'show_in_pricing' => true,
'type' => 'subscription_plans',
'enabled' => true,
'name' => 'Personal Creator',
'amount' => 4,
'currency' => 'usd',
'symbol' => '$',
'primary_interval' => 'month',
'features' => [
[
'text' => '50 non-watermarked videos',
'available' => true,
],
],
'system' => [
'non_watermark_videos' => 50,
'stripe' => [
'product_id' => [
'test' => [
'month' => 'prod_SaY8TGjiPi5hWu',
],
'prod' => [
'month' => 'prod_XXXXXXXXXXXXX',
],
],
'current_stripe_price_id' => [
'test' => [
'month' => 'price_1RfN2VEEXQJo9EEOzjPI2HGt',
],
'prod' => [
'month' => 'price_XXXXXXXXXXXXX',
],
],
'stripe_price_ids' => [
'test' => [
'month' => [
'price_1RfN2VEEXQJo9EEOzjPI2HGt',
],
],
'prod' => [
'month' => [
'price_XXXXXXXXXXXX',
],
],
],
],
],
],
[
'id' => 'sub-500-credits',
'show_in_pricing' => false,
'type' => 'subscription_credits',
'enabled' => true,
'name' => '500 Credits / month',
'amount' => 3,
'currency' => 'usd',
'symbol' => '$',
'primary_interval' => 'month',
'features' => [
[
'text' => '500 Credits',
'available' => true,
],
],
'system' => [
'credits' => 500,
'stripe' => [
'product_id' => [
'test' => [
'month' => 'prod_XXXXXXXXXXXXX',
],
'prod' => [
'month' => 'prod_XXXXXXXXXXXXX',
],
],
'current_stripe_price_id' => [
'test' => [
'month' => 'price_XXXXXXXXXXXXX',
],
'prod' => [
'month' => 'price_XXXXXXXXXXXXX',
],
],
'stripe_price_ids' => [
'test' => [
'month' => [
'price_XXXXXXXXXXXXX',
'price_XXXXXXXXXXXXX',
],
],
'prod' => [
'month' => [
'price_XXXXXXXXXXXX',
'price_XXXXXXXXXXXXX',
],
],
],
],
],
],
];