Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rickschmidt's avatar

Defining Quarterly Billing in Spark

Hey all,

What is the best way to implement quarterly billing in Spark? The documentation covers monthly and yearly use cases, and I do not see a method to modify the interval_count. I am using Stripe, and their API does have an interval_count field which would suffice for this purpose (https://stripe.com/docs/api#create_plan).

Thoughts?

Thank you! Rick

0 likes
2 replies
amsoell's avatar

Hey @rickschmidt — curious if you found a solution here. Considering using Spark on a small project, but it definitely requires quarterly billing. I would love to know that Spark supports that before diving in.

rickschmidt's avatar

@amsoell I did actually! So out of the box, Spark doesn't have this. But I found out that the billing plans are actually defined on Stripes side (haven't worked with Braintree). Spark is just using the service provider to use the Stripe API to subscribe a user to a specific plan, so the ->monthly() or ->yearly() is not the mechanism that triggers when the billing is process. On Stripe's end, you can make a quarterly billing period without an issue.

What the service provider does do is basically use ->monthly() or ->yearly() to configure all of the views across the app from the select a plan page/register page and for the Kiosk feature. So the manual solution will be to find everywhere Spark outputs $xxx / month or year and you need to update it to / quarter or something along that.

Hope that helps!

Rick

Please or to participate in this conversation.