Complete step-by-step guide to integrating Lemon Squeezy payments into your WooCommerce store
You're about to set up the WooCommerce Lemon Squeezy Payment Gateway developed by Devtonic Studios. This plugin bridges your WooCommerce store with Lemon Squeezy's powerful payment processing API.
This guide will walk you through every step - from prerequisites to going live. Let's get started!
Devtonic Studios created this plugin to connect WooCommerce with Lemon Squeezy (a separate payment processing company). We are not affiliated with Lemon Squeezy - we simply built the bridge that connects the two platforms.
Customer shops and checks out
Routes payment to Lemon Squeezy
Processes the payment
| Requirement | Minimum | Recommended |
|---|---|---|
| WordPress | 5.8+ | Latest version |
| WooCommerce | 6.0+ | Latest version |
| PHP | 7.4+ | 8.0 or higher |
| SSL Certificate | Required (HTTPS) | |
Lemon Squeezy requires HTTPS for webhook communication. Your site MUST have a valid SSL certificate installed before proceeding.
Screenshot: Lemon Squeezy Dashboard - Store Settings ( Store ID )
API Key Format: lmsq_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Screenshot: Generate Your API Key
Keep your API key confidential. Never share it publicly or commit it to version control.
wc-lemon-squeezy.zip
Screenshot: Lemon Squeezy Plugin Successfully Activated
After activation, check:
Screenshot: WooCommerce Payments Tab
Configure these essential fields:
| Setting | What to Enter | Example |
|---|---|---|
| Enable/Disable | Check to enable | ✓ Enabled |
| Title | Name shown to customers | "Credit Card" |
| Description | Checkout description | "Secure payment processing" |
| API Key | From Prerequisites Step 2 | lmsq_xxxxx... |
| Store ID | From Prerequisites Step 1 | 12345 |
Screenshot: Basic Settings Configuration
For safe testing without real transactions:
Never skip test mode. Test with Lemon Squeezy's test card numbers before processing real payments.
Screenshot: WooCommerce → Lemon Squeezy - Quick Actions Section
✓ Connection Successful!
Store ID: 12345
Store Name: Your Store Name
API Status: Active
Double-check your API Key and Store ID for typos. Ensure no extra spaces. Verify SSL certificate is valid.
Webhooks notify your store instantly when payments are processed, refunds occur, or subscription events happen. They're essential for real-time order updates.
https://yoursite.com/wp-json/wc-lemon-squeezy/v1/webhookhttps://yoursite.com/wp-json/wc-lemon-squeezy/v1/webhook
Screenshot: Get Your Webhook URL from WordPress Site
Only check the events that match the type of products you're selling. Don't select subscription events if you only sell one-time purchases, and vice versa.
Screenshot: Lemon Squeezy Webhook Configuration
The webhook secret validates that requests are genuinely from Lemon Squeezy. Never skip this step!
Each WooCommerce product must be linked to a Lemon Squeezy product variant. This tells the plugin which Lemon Squeezy product to charge for each item.
Screenshot: Lemon Squeezy Product Creation and Product Variant ID
As shown in the screenshot above, click the 3 dots menu on your product variant and select "Copy variant ID". Save this ID - you'll need it in the next step.
Screenshot: Paste Your Variant ID in the Product Data Section
For variable products, each variation needs its own Variant ID. Edit variations individually and add their respective Lemon Squeezy Variant IDs.
Always test thoroughly before processing real customer payments. This prevents payment issues and customer frustration.
Card: 4242 4242 4242 4242
Expiry: Any future date
CVC: Any 3 digits
ZIP: Any 5 digits
If webhooks fail, verify your webhook secret is correct and your SSL certificate is valid.
Ensure your API key and webhook secret are for LIVE mode, not test mode. Check Lemon Squeezy dashboard to confirm.
Congratulations! Your WooCommerce store is now accepting payments through Lemon Squeezy. Monitor your orders and reach out if you need any support.
HMAC signature validation on all webhooks, encrypted API communication, and PCI-compliant payment handling.
Instant order updates via webhooks. Orders automatically updated when customers complete payment.
Process full and partial refunds directly from WooCommerce admin with automatic sync to Lemon Squeezy.
Safe testing environment with visual indicators. Test entire payment flow without real transactions.
Comprehensive logging tracks all API calls, webhook events, and errors for easy troubleshooting.
Full support for new WooCommerce Blocks checkout and classic checkout for maximum compatibility.
Refunds are processed immediately through the API. Customer sees refund in 5-10 business days depending on their bank.
Problem: Connection test returns an error
Solutions:
Problem: Order stays pending after checkout
Solutions:
Problem: Orders not updating automatically
Solutions:
Problem: Error about product not found
Solutions:
Problem: Cannot process refund
Solutions:
Enable debug logging, reproduce the issue, and check logs at WooCommerce → Status → Logs. Then contact support with log excerpts.
Devtonic Studios
For plugin issues, configuration help, product mapping, or technical problems:
Email Plugin SupportLemon Squeezy
For Lemon Squeezy account issues, fees, payouts, or their platform:
Lemon Squeezy HelpPlease enable debug logging, reproduce the issue, and check logs at WooCommerce → Status → Logs. Include relevant log excerpts when contacting support.