
What this WooCommerce integration does
A Lemon Squeezy WooCommerce integration is useful when your website already relies on WooCommerce product pages, orders and download fulfillment, but you want an eligible purchase to use your own Lemon Squeezy account for payment.
Doorpay prepares a checkout for the mapped offer, sends the customer to Lemon Squeezy and verifies the provider result before completing payment in WooCommerce. Lemon Squeezy supplies its checkout and payment services. Doorpay is independent software; it does not supply accounts or receive, hold, route or settle store-customer funds.
That is a different job from simply adding a Lemon Squeezy purchase button to a WordPress page. The provider’s WordPress checkout-button documentation covers that button-led approach. Here, WooCommerce creates the order and remains responsible for its store-side fulfillment workflow.

Check your product and cart first
The current Doorpay 1.5.7 documentation defines a deliberately limited Lemon Squeezy path. Check these conditions before installing a gateway on a busy store:
- One product line: one mapped virtual WooCommerce product or variation line in the order. A quantity greater than one is not the same as multiple different product lines.
- One-time, fixed pricing: no Lemon Squeezy recurring subscription checkout through this documented Doorpay path.
- Supported currency: a supported two-decimal currency, with a matching amount and configuration.
- No shipping or arbitrary fees: physical goods, shipping charges and unsupported extra charges do not fit this integration.
The provider itself offers features beyond this list. A Lemon Squeezy subscription feature or variant option does not establish support for it inside Doorpay. Start with Doorpay’s compatibility section and ask about any cart that falls outside the documented scope.
1. Install Doorpay and activate your license
Use a backed-up staging copy of your WooCommerce store. Install the Doorpay customer plugin ZIP under Plugins → Add New → Upload Plugin, activate it, then open Doorpay → License to activate your purchased license for the website.
The supplied release lists WordPress 6.4+, WooCommerce 8.0+ and PHP 8.1+ as minimum requirements. Check compatibility with your current theme and checkout extensions as well. A minimum-version declaration does not verify every combination of extensions.
Review the gateway in WooCommerce → Settings → Payments, then use Doorpay → Setup for the provider configuration. Keep the gateway in test mode while building and verifying the connection.
2. Configure the Lemon Squeezy test connection
Lemon Squeezy separates test and live records. Use a test API key with the test store data and test variant you will map. The provider’s testing guide explains the separation and the move to live credentials.
| Setting | What it identifies | Avoid this mistake |
|---|---|---|
| API key | Server access to the selected environment. | Putting a secret API key into frontend HTML or a public image. |
| Store and variant | The store and exact offer used for checkout. | Confusing the product ID, variant ID and WordPress product ID. |
| Webhook signing secret | The secret for validating the selected callback. | Using the API key as the signing secret. |
Doorpay requests the checkout server-side. This flow does not require a Paddle-style browser client token. Save credentials only in the protected configuration supplied by the plugin. Never share live keys in an unredacted support message.
Choose the intended provider store and verify the selected record in your own account. Store and variant identifiers are configuration references, not a replacement for API authentication.
3. Map the WooCommerce offer to a variant
Prepare the corresponding fixed-price, one-time offer in your Lemon Squeezy test store. Open Doorpay → Products & mappings and map the WooCommerce product or variation to the correct test variant.
Check both sides of the mapping: the offer, price, currency and billing type. If your WooCommerce product has variations, verify the actual purchasable variation rather than only its parent product.
For an illustrative example, a single virtual template priced at USD 20 can map to its one-time Lemon Squeezy variant. A cart containing that template and a different ebook has two lines, so it falls outside this documented path even if both products have mappings.
Quantity must also reconcile. Doorpay retains supported quantities, and a discounted custom unit price must divide exactly across the quantity. If the final amount cannot be represented exactly, treat the validation error as a configuration or cart issue rather than rounding it by hand.
4. Choose hosted checkout or the optional overlay
The default flow sends the customer to a Lemon Squeezy-hosted checkout created for the order. Doorpay also documents an optional overlay with a hosted fallback. Begin with the hosted route so you can verify the underlying order flow before investigating overlay behavior.
The Lemon Squeezy checkout API creates a checkout associated with a store and variant. Doorpay connects that provider checkout to the WooCommerce order; the plugin’s own page styling does not grant control over every field inside a provider-owned checkout.
Test desktop and mobile navigation, including cancel/back behavior and the customer’s return to your site. If the overlay is blocked or unavailable, verify that the hosted fallback still takes the customer to the intended offer.
5. Configure and verify signed webhooks
Open Doorpay → Webhooks & diagnostics and copy the Lemon Squeezy callback URL shown by your installation. The documented routes use the /wp-json/doorpay/v1/lemonsqueezy/ namespace; use the full displayed endpoint rather than guessing the remaining path.
In Lemon Squeezy, use Settings → Webhooks to create the test-mode webhook. Set its callback URL and signing secret, and select the order events required by Doorpay, including order_created and order_refunded. Save the same secret in Doorpay’s matching configuration.
The provider’s webhook setup guide describes the URL, signing secret and event list. Its signature documentation explains the X-Signature header. Doorpay validates the signed event and checks authoritative paid-order data before fulfilling the linked WooCommerce order.
Allow public HTTPS POST requests to the callback. A password-protected staging site, firewall challenge or cached REST response can interrupt delivery. Check the provider’s delivery record and Doorpay’s processing record together; a delivery attempt alone does not prove reconciliation succeeded.
6. Run a complete test purchase
Add one eligible mapped product to the WooCommerce cart, choose Lemon Squeezy and complete its test checkout. Use the current test payment details from Lemon Squeezy’s test-mode documentation, never a real card in test mode.
- Find the WooCommerce order and its corresponding provider checkout/order in Doorpay → Payments.
- Compare the product/variant, quantity, currency and final charged amount.
- Confirm that the signed order event was received and processed.
- Check the paid WooCommerce status and the customer’s expected file access.
- Try an abandoned or declined checkout and confirm that unpaid orders do not release paid downloads.
A return URL or browser overlay callback does not replace server-side payment verification. If the customer leaves before returning, use the webhook and diagnostics records to determine what happened.
For WooCommerce downloads, review when WooCommerce grants access to downloadable files. Configure your store’s delivery settings deliberately. A provider receipt, a WooCommerce order email and a license key generated by a separate licensing system are different things; do not promise all three from a successful gateway payment alone.
Provider test-mode receipts have restricted delivery behavior. Verify WordPress email delivery separately, and do not use a missing test email as the sole evidence that a payment failed.
7. Test WooCommerce coupons on the exact cart
Create and manage the promotion in WooCommerce. Doorpay translates the supported discounted result into the Lemon Squeezy checkout amount for the mapped one-time offer. It disables the native provider coupon field in this translated flow to avoid stacking a second discount at checkout.
For example, an eligible USD 20 order with a WooCommerce discount of USD 5 should reconcile to USD 15 before any separately applicable tax. That is an illustrative amount check, not a guarantee that every coupon rule or quantity is supported.
Check amount precision, quantity divisibility and the two-decimal currency requirement. A zero-total order should use WooCommerce’s free-order flow. See Doorpay’s coupon overview and verify the promotion before adding it to your sales page.
Fix the most common setup errors
| Problem | What to inspect |
|---|---|
| Gateway missing at checkout | License, gateway enabled, one eligible virtual line and complete variation mapping. |
| Wrong offer or unavailable variant | Test/live environment, selected store, variant ID and one-time price configuration. |
| Checkout amount rejected | Currency, product price, coupon allocation and exact divisibility across the quantity. |
| Order remains unpaid after checkout | Webhook delivery, matching signing secret and provider amount/currency validation. |
| Overlay does not open | Browser script errors, content restrictions and the hosted fallback. |
| No customer download | Verified paid status, downloadable file configuration, permissions and WooCommerce delivery settings. |
Move to live mode carefully
Finish store activation, then configure the live API key, live catalog mapping and live webhook. Test records do not become production configuration just because you switch a toggle. Verify the live store and variant rather than assuming the identifiers match.
Before launch, run an authorized controlled live purchase and refund, inspect both systems and verify email and download delivery. The supplied project documentation records local checks; it does not establish that your provider account or live transactions have been tested.
If you are still deciding, use the Paddle vs Lemon Squeezy comparison. If your cart needs more than one mapped product line, examine the separate Paddle setup guide and its limits before choosing a gateway.
Sources & scope
Provider references were checked on 24 October 2026. Doorpay-specific behavior is based on the supplied project documentation for release 1.5.7, reviewed 22 October 2026. Illustrations explain the workflow; they are not dashboard screenshots. No live provider-payment test or performance benchmark is claimed.
- Lemon Squeezy WordPress checkout buttons
- Lemon Squeezy store activation
- Lemon Squeezy prohibited products
- Lemon Squeezy supported countries
- Lemon Squeezy testing and going live
- Lemon Squeezy checkout API
- Lemon Squeezy webhook setup
- Lemon Squeezy signed webhook requests
- Lemon Squeezy test mode
- WooCommerce downloadable-product settings
- Lemon Squeezy’s January 2026 update