change subscription plan from monthly to yearly
This is what I've done:
1. Clone the JSP repo and setup the Stripe credentials
2. Setup the Plans in the admin:
3. If an user has subscribed to the monthly plan, this is what's shown at
The button says
3. If an user has subscribed to the yearly plan, this is what's shown at
The button says
1. Clone the JSP repo and setup the Stripe credentials
2. Setup the Plans in the admin:
3. If an user has subscribed to the monthly plan, this is what's shown at
/subscription/edit
:The button says
Current Plan
there's no option to change plan.3. If an user has subscribed to the yearly plan, this is what's shown at
/subscription/edit
:The button says
Change Plan
, this allows the user to change plan from yearly to monthly.Alrighty, just pushed up a fix for that. I had forgotten to update this view to match the pricing page. Basically just needed to fix the data attributes on the plans to match.
From this:
And same for the yearly plans.
From this:
<div data-target="pricing.monthlyPlans" class="hidden flex-wrap items-center justify-center -mx-4">
To this:<div data-target="pricing.plans" data-frequency="yearly" class="hidden flex-wrap items-center justify-center -mx-4">
And same for the yearly plans.
Notifications
You’re not receiving notifications from this thread.