メインコンテンツにスキップ

Lemon Squeezy

Lemon Squeezy handles payments, subscriptions, and tax for software and digital products.

1. Get credentials

In the Lemon Squeezy dashboard: SettingsAPI to create an API key. In store settings, note your Store ID. Keep both for the next step.

2. Create the provider in Casdoor

ProvidersAdd. Set Category to Payment, Type to Lemon Squeezy. Map:

CasdoorLemon Squeezy
Client IDStore ID
Client secretAPI Key

3. Attach to a product

Add this provider to the product in Casdoor. Set the product’s name (or identifier) to the Variant ID from the Lemon Squeezy product. Checkout redirects users to Lemon Squeezy.

ヒント

Configure webhooks in the Lemon Squeezy dashboard for reliable payment status. Without webhooks, status is inferred from checkout expiry.