Payments
Setup and Work with Polar.sh for Payments
DO NOT upgrade any Polar.sh dependencies unless you’re following their official migration guide and understand the breaking changes. Upgrading without proper migration can break your payment processing, webhooks, and billing functionality. The current Polar.sh version in the boilerplate is tested and stable.
Setting up payment processing is only necessary when you have a working product that’s ready to accept payments. During the initial learning and MVP development phase, you can keep payments disabled in your Kaizen config. Only set up a company and payment processing if you’re ready to accept payments.
This guide covers working with payments with Polar.sh in Kaizen.
Kaizen comes with a complete Polar.sh integration that handles payments, subscriptions, and webhooks. All the necessary code is already implemented to process payments and update your database when payment events occur.
Testing payments locally
Assuming you have the ngrok url running, you can test the payments flow locally.
Details coming soon…