File size: 1,654 Bytes
907b200
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php

namespace Database\Seeders;

use App\Models\Plan;
use Illuminate\Database\Seeder;

class PlanSeeder extends Seeder
{
    public function run(): void
    {
        Plan::create([
            'name' => 'Free',
            'type' => 'free',
            'billing_period' => null,
            'price' => 0,
            'currency' => 'usd',
            'stripe_price_id' => null,
            'is_active' => true,
        ]);

        Plan::create([
            'name' => 'Pro Monthly',
            'type' => 'pro',
            'billing_period' => 'month',
            'price' => 9.99,
            'currency' => 'usd',
            'stripe_price_id' => 'price_1TltnqPK9FQXtJU73CGqIHqv',
            'is_active' => true,
        ]);

        Plan::create([
            'name' => 'Pro Yearly',
            'type' => 'pro',
            'billing_period' => 'year',
            'price' => 99.99,
            'currency' => 'usd',
            'stripe_price_id' => 'price_1TltnqPK9FQXtJU7hpD5HMD3',
            'is_active' => true,
        ]);

        Plan::create([
            'name' => 'Max Monthly',
            'type' => 'max',
            'billing_period' => 'month',
            'price' => 19.99,
            'currency' => 'usd',
            'stripe_price_id' => 'price_1TltqwPK9FQXtJU7gQaY03Kn',
            'is_active' => true,
        ]);

        Plan::create([
            'name' => 'Max Yearly',
            'type' => 'max',
            'billing_period' => 'year',
            'price' => 199.99,
            'currency' => 'usd',
            'stripe_price_id' => 'price_1TltqwPK9FQXtJU7K0jZcGPT',
            'is_active' => true,
        ]);
    }
}