Level 1
Do you use Stripe or Paddle?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How do I set up a price in spark.php:
'billables' => [
'user' => [
'model' => User::class,
'trial_days' => 5,
'default_interval' => 'monthly',
'plans' => [
[
'name' => 'Standard',
'short_description' => 'This is a short, human friendly description of the plan.',
//'monthly_id' => env('SPARK_STANDARD_MONTHLY_PLAN', 1000),
'yearly_id' => env('SPARK_STANDARD_YEARLY_PLAN', 1001),
'features' => [
'Feature 1',
'Feature 2',
'Feature 3',
],
'archived' => false,
],
],
],
],
I use stripe. I had to add a product on Stripe and get its App Id.
Please or to participate in this conversation.