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

smurfiez's avatar

Laravel Spark Canceling Trial

I've recently create an app that provides "Credits" to users on a monthly basis that can be used to perform certain actions, with trial providing a very limited amount of "Credits".

Now some users have begun emailing if they can remove the trial period since their "Credits" are all used up and they do not wish to wait 7 days to begin actually using it.

I've tried a few approaches like

$user->subscription()->extendTrail(now())

as well as skipTrial()

$user->subscription()->skipTrial()

I've also tried to use swap in conjunction with skiptrial but I can't seem to find the plan name, any advice would be very much appreciated.

0 likes
0 replies

Please or to participate in this conversation.