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

TheFriendlyHacker's avatar

Spark: allow users to subscribe to free plan without entering credit card info

Hello!

I would like my users to be able to subscribe to a free plan while registering, without requiring them to enter their credit card info.

Basically, they only have to enter their info once they decide to subscribe to a paid plan.

How do / can you do this with Spark?

I know you can set up trials that do not require cards up front, but I would rather them be able to subscribe to a "permanent" free plan instead.

Thanks!

0 likes
3 replies
ejdelmonico's avatar

@thefriendlyhacker I haven't updated my Spark app in a while but it used to be something like Spark::useStripe()->noCardUpFront()->trialDays(10);

mdl's avatar

@thefriendlyhacker That is not enrolling a new user to any plan, it puts the user by default in generic trial.

I've been looking first thing in all code for a way to have the user on registration to be enrolled in the only free plan provided.

Seems that Spark is developed only towards strictly paid plans, as Free plans don't even show up in Subscriptions by default.

mdl's avatar

By checking the code of it, discovered that actually to have a user enrolling on the free plan and allow it permanent, trial days needs to be set to -1.

For the free plan, card will not be required. If paid plans are available, the credit card will be required only if selected.

Please or to participate in this conversation.