3

I'm new to Spark and I've been playing in the sand for a few days, but am stumped on this issue. In Stripe, I've set up my dummy plan and its configured per the following:

$99 flat amount + $2/seat

Now getting this to match within Spark has been a hassle. I have combed the billing and teams documentation and there doesn't seem to be anything that allows for both consecutively. From the code below, I receive this in Spark $99 / Member / Monthly

Any advice?

My booted function looks like this. Is there a way to have both the standard plan price $99 while adding a $2/seat charge (after n users)?

public function booted()
{

    Spark::useStripe()->noCardUpFront()->teamTrialDays(10);

    Spark::chargeTeamsPerMember();

    Spark::freeTeamPlan()
        ->features([
            'First', 'Second', 'Third'
        ]);

    Spark::teamPlan('test', '#censored')
        ->price(99)
        ->features([
            'First', 'Second', 'Third'
        ]);
}
sabti
  • 95
  • 1
  • 4

0 Answers0