Subscription Demo

API-Generated Checkout URL

This example fetches a custom checkout URL from our API and opens it in an overlay. This is the recommended approach for production applications.

Lemon Squeezy URL Test

API-Generated Custom Checkout:

Uses Lemon Squeezy's Checkouts API to generate a custom checkout URL with user data and preferences.

URL Format Test:

Format 1 (with 'checkout'): https://evokids.lemonsqueezy.com/checkout/buy/612052
Format 2 (without 'checkout'): https://evokids.lemonsqueezy.com/buy/612052

Note: If you see a 404 error when clicking these links, it means the variant ID or store URL is incorrect.

Current store URL: https://evokids.lemonsqueezy.com

Variant ID being used: 612052

Lemon Squeezy Overlay Demo

Compare overlay and direct link subscription approaches

Overlay Approach

Opens the checkout in an overlay on the same page

Direct Link Approach

Uses a standard link to the checkout page

Troubleshooting Info

Information to help debug issues with Lemon Squeezy integration

Configuration:

Store URL: https://evokids.lemonsqueezy.com

Using Overlay: Yes

Test Variant IDs: 612052 (monthly), 612053 (annual)