Files
memefast/config/platform/purchases/subscriptions.php
2025-07-01 20:54:26 +08:00

135 lines
3.8 KiB
PHP

<?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',
],
],
],
],
],
],
];