Lemonsqueezy Payments

Hi All,

Lemonsqueezy is a merchant of record (MoR) like paddle.com, which are alternative payment processors to Stripe/PayPal that handle all the tax collection and remittances. It basically acts like a reseller of your software so you can just get payouts and not have to worry about sales tax. I decided to give it a go for my SaaS since I want to sell worldwide.

Note that this code is not production ready.

My anvil-squared dependency has some functions that’ll generate checkouts and create customer portal links:

My boilerplate app has endpoints that correspond to Lemonsqueezy webhooks to catch when a SaaS subscription has been updated:

More info on the Lemonsqueezy API is here: API Reference: Lemon Squeezy

7 Likes