OMG - such a noob error - I solved it with adding ->yearly() to the Spark::plan.
Jun 18, 2017
2
Level 1
Spark Subscription showing monthly - should be yearly
I am having an issue where the subscription panel is showing the yearly plan as monthly. For example, I have one plan for $10.00 / Monthly and the other says $100.00/Monthly <- should be yearly.
I have checked the SparkServiceProvider booted code and it looks correct and the Stripe subscription is set to yearly for that plan. I can see that the info is spawned in with plan.interval but I have no idea with this is not working.
booted() {code} Spark::useStripe()->noCardUpFront()->trialDays(7);
Spark::plan('Monthly', 'monthly_1')
->price(10)
->features([
'Our Monthly plan is a low $10 USD a month'
]);
Spark::plan('Yearly', 'yearly_1')
->price(100)
->features([
'Our yearly plan is a low $100 USD.',
]);
{code}
Any help would be much appreciated.
Please or to participate in this conversation.