Payments
Directories are a wonderful way to earn money, so it comes with afull payment process built-in.
Last updated
Directories are a wonderful way to earn money, so it comes with afull payment process built-in.
Last updated
DirectoryFast chose LemonSqueezy over a classic Stripe integration for 1 good reason for us, indiehackers:
As your merchant of record, we handle the tax compliance burden so you can focus on more revenue and less headache.
Create your store following this .
Configure your webhook (allowing LM and your app to be in sync for payments):
Log to your > Settings
> Webhooks
> + Icon
Fill Callback URL (https://your.app/billing/webhook)
Fill Signing Secret (you can use this )
Select all the wanted events (eg: order_*** for one-time payments)
Save Webhook
Add the Signing Secret value to LEMONSQUEEZY_WEBHOOK_SECRET
in your .env
file.
If you want to add your own logic or implement new ways to get paid, you'll find everything in the /app/billing/webhook/route.ts
file.