CTO at Checkly·

Stripe Stripe Billing Vue.js

When I started building a SaaS from scratch, I adopted the Stripe Billing product for managing plans and subscriptions. At that moment (roughly a year ago) I did not fully realise that this was a new addition to the Stripe product line.

One year down the road, I can write this decision and support it with technical details on how I implemented Stripe Billing and integrated it with the Checkly backend.

Key takeaways are:

  • Keep coupling minimal. I hardcode our pricing and plans into the pricing page.

  • Choose good ID's and a good structure to segment product and pricing. This enables grandfathering customers and adding ad hoc new products.

  • Use one or two webhooks to keep things in sync. We use just one webhook.

See all details with code examples in the linked blog post.

READ LESS
Our Stripe Billing implementation (blog.checklyhq.com)
5 upvotes·1 comment·51K views
Octavia Hirst
Octavia Hirst
·
May 21st 2020 at 3:11PM

hi, can I ask why you say to hardcode the pricing? We've got country specific pricing, and I was hoping Stripe Billing would help us handle that

·
Reply
Avatar of Tim Nolet

Tim Nolet

CTO at Checkly