Payments
The Pro version allows using either Stripe or Lemon Squeezy for subscriptions. The default setup is Stripe but Lemon-Squeezy can be used instead in 2 minutes simply by moving a few files.
Lemon Squeezy and Stripe have nearly identical API which allows easy switching between them.
Steps:
Sign-up for either Lemon or Stripe.
Create Products and Prices in the Stripe or Lemon Dashboard.
Substitute the Price Ids in the .env
file.
For lemon also add the Store ID
to the .env
file
The webhook can also be setup if you need to test or modify the full subscription flow. See webhook section for more details.
This setup will be enough for development and testing.
Before going live there is more configuration needed for stripe before accepting payments, see Going Live section for more details.