Pricing page
RailsFast also provides a fully working pricing page with pricing cards, a toggle to choose between monthly / yearly billing, and more.
As described in the Payments section, this pricing page is already fully integrated with the pricing_plans gem, and it's not just front-end / aesthetics: all plans can be purchased and whatever is defined in the plan itself is immediately enforceable app-wide.
The pricing page uses the plans defined in pricing_plans if you’ve configured the gem, otherwise it falls back to the placeholder @static_plans in the DemoController, so the page still looks good.
What you’ll likely customize:
- Your actual plans: define them in
config/initializers/pricing_plans.rband plug in your Stripe Price IDs inconfig/railsfast/railsfast.ymlas described in Payments. - Which plan is “Most Popular”: mark a plan as highlighted in
pricing_plans.rb(RailsFast auto-detects it), or pass apopular_plan_id:manually. - Monthly/Yearly toggle:
show_toggle: true/false - Scalable / enterprise slider card:
show_scalable: true/false+scalable_plans: [...] - Brand theming: pass
accent:(hex/CSS color string)