Lemon Squeezy
Lemon Squeezy (LS) is a Merchant of Records.
It supports more countries than Stripe, but it has a more strict approval process, because LS sells your products on your behalf worldwide, they collect VAT and remit taxes in the different countries for you.
It also has an affiliate system out-of-the-box.
Shipped supports LS for Subscriptions and One-time purchases.

Shipped supports Lemon Squeezy to collect payment. First of all, you need to create a store. If you haven't, follow the guide.
After that, you need to configure a webhook on Lemon Squeezy, follow these steps:
Log into Lemon Squeezy
Go to Settings
Click on Webhooks
Click on the "+" icon
Fill in Callback URL with https://yourwebsite.com/api/webhooks/lemonsqueezy
Fill in Signing Secret with the Secrets Generator of Shipped
Select the events
For subscriptions:
subscription_createdsubscription_updatedsubscription_cancelledsubscription_resumedsubscription_expiredsubscription_pausedsubscription_unpaused
For orders (one-time payments):
order_createdorder_refunded
Click Save Webhook
open
.envand setLEMONSQUEEZY_WEBHOOK_SECRETwith the Signing Secret value

The webhook provided by Shipped is at src/app/api/webhooks/lemonsqueezy/route.ts and it will handle all the payments and subscription events for you.
Last updated
Was this helpful?