doorpay

Checkout guide

How to Use WooCommerce Coupons with Paddle and Lemon Squeezy

Create the promotion in WooCommerce. Keep one discount calculation. Check the final amount before you send customers to checkout.

Doorpay guides8 min readSources checked
WooCommerce calculates a coupon discount, Doorpay translates the supported amount, and the chosen provider verifies the final checkout total.
Original conceptual illustration. Doorpay connects the software; the provider supplies its payment services.

One coupon engine for the store

WooCommerce coupons can work with Paddle and Lemon Squeezy through Doorpay while WooCommerce remains responsible for eligibility, allocation and usage. You create a native store coupon; the shopper applies it to an eligible cart.

Doorpay reads the saved order’s supported discount result and prepares the corresponding provider checkout. The buyer does not need a second copy of the coupon in a provider dashboard. This guide describes the supplied Doorpay 1.5.7 behavior, including its limits.

Doorpay is an independent software integration. You use your own approved provider account; Doorpay does not supply merchant accounts or receive, hold, route or settle customer funds.

1. Create a native WooCommerce coupon

First confirm coupon use is enabled in WooCommerce → Settings → General. Then open Doorpay → Coupons to create a percentage, fixed-cart or fixed-product coupon. That screen creates a WooCommerce coupon record, not a separate Doorpay promotion.

For the full rule set, open its WooCommerce coupon editor. Use it for product/category restrictions, allowed billing emails, sale-item exclusions, combination rules, expiry and usage limits. Native coupons are also managed under Marketing → Coupons.

The WooCommerce coupon guide explains the built-in editor. Choose restrictions that fit the actual offer and test them against the same product, variation and customer conditions you will advertise.

For example, a coupon limited to one variation should be tested with that variation and with an excluded item. A code that exists in the admin is not evidence that every checkout will qualify.

2. Apply it in the WooCommerce checkout

Customers enter the code through the WooCommerce cart or checkout coupon field and select Apply. Creating a coupon does not automatically apply it. Check that the store’s order summary shows the intended discount before opening provider checkout.

WooCommerce decides whether the code qualifies and calculates its allocation. Doorpay uses the saved result rather than accepting a browser-supplied discounted total. Keep the coupon and cart validation in WooCommerce intact.

If the code is rejected before payment selection, inspect the WooCommerce restriction message first. If it applies in WooCommerce but the provider checkout is rejected, investigate the translation and exact-total checks described below.

Three discount examples, checked before tax

These examples use USD and assume eligible one-time products, no shipping or extra fees, and no applicable tax yet. Any sample code is an illustration, not an active Doorpay promotion.

Coupon type Illustrative calculation Discounted subtotal
Percentage — example code EXAMPLE10 USD 59.00 − (USD 59.00 × 10%) USD 53.10
Fixed cart — example code EXAMPLELESS10 USD 59.00 − USD 10.00 USD 49.00
Fixed product — USD 4 off each eligible unit 2 × (USD 29.00 − USD 4.00) USD 50.00
Three illustrative USD discounts before tax: 59 minus ten percent equals 53.10; 59 minus 10 equals 49; two units at 29 minus 4 each total 50.
Conceptual arithmetic examples, not live offers or screenshots. Tax is separate from the illustrated subtotals.

The last example is one product line with quantity two. It is not a cart containing two different products. That distinction matters for Lemon Squeezy’s documented Doorpay scope.

3. Check the Paddle one-time translation

For supported one-time Paddle orders, Doorpay translates the WooCommerce allocation into a transaction-scoped flat discount restricted to the affected mapped Paddle price IDs. Paddle supports non-catalog transaction discounts, and its discount documentation describes item restrictions and currency requirements.

Doorpay still checks the mapped catalog baseline, quantity, currency, each discounted line, tax and final total. A matching percentage on screen is insufficient if the provider’s line allocation differs from the saved order.

Use distinct, correct product/variation mappings where appropriate, and test the exact cart combination. Do not bypass a mismatch or alter a saved order total to make the existing provider attempt appear valid.

4. Check the Lemon Squeezy amount and quantity

The documented Lemon Squeezy integration supports one mapped virtual product or variation line, fixed one-time pricing and a supported two-decimal currency. Quantity is retained. Multi-line orders, recurring checkout, physical shipping and arbitrary fees are outside this path.

Doorpay supplies the supported discounted unit amount through the provider’s checkout custom-price API. It disables the provider coupon field in this translated flow so the same promotion is not applied again at provider checkout.

The discounted amount must divide exactly across the quantity in the currency’s minor units. In the two-unit example, USD 50 ÷ 2 is USD 25 per unit, an exact cent amount. A hypothetical USD 50 total across three units is not exactly divisible into cent-denominated unit prices and should be rejected rather than rounded silently.

After payment, Doorpay also verifies the authoritative provider result against the saved amount and tax. A valid WooCommerce coupon does not establish support for every possible provider allocation.

5. Handle tax and zero-total orders deliberately

The examples above are before applicable tax. Reconcile the actual checkout using your configured tax-inclusive or tax-exclusive pricing, the saved coupon allocation and the provider’s final result. Avoid charging the same tax in WooCommerce and again in provider checkout.

A coupon that reduces a legitimate order to zero uses WooCommerce’s normal free-order flow. Doorpay does not create a zero-price provider transaction merely to imitate a paid checkout.

Free checkout is also separate from software licensing. The customer gateway does not automatically issue keys for every product. In the seller-only system used to sell Doorpay itself, zero-total/test orders do not issue production licenses unless the seller explicitly configures the relevant policy.

6. Verify the promotion before launch

  1. Create the intended coupon and test an eligible cart plus an excluded cart.
  2. Confirm the actual variation, quantity, baseline price and WooCommerce discount.
  3. Use the matching provider test environment and catalog mappings.
  4. Compare the provider’s final charge with the saved WooCommerce order, including tax.
  5. Confirm payment verification and normal fulfillment occur once, without a second discount or duplicate usage effect.

Keep unchanged attempts and edited carts distinct. Doorpay records the financial state of a payment attempt; after an order changes, an old provider checkout cannot be treated as a quote for the new order.

Use the payment-testing guide for the wider test matrix. The Paddle setup guide and Lemon Squeezy setup guide cover the provider connection itself.

Coupon troubleshooting

Symptom Evidence to check Safe next step
Code rejected in WooCommerce Expiry, restrictions, eligible items, customer conditions and limits. Correct the native coupon or use an eligible cart.
Paddle rejects the discounted order Mapped baseline, price IDs, duplicate mappings, allocation and tax. Correct the underlying mismatch and test a supported one-time order.
Lemon Squeezy rejects the amount One-line scope, currency, quantity and exact unit-price division. Use a supported cart/discount; do not hide a rounding difference.
Discount appears twice WooCommerce discount and any provider-side discount input. Use the documented translation flow; avoid entering another provider code.
Order stays unpaid after checkout Linked attempt, authoritative payment state and event processing. Follow the pending-payment guide before retrying payment or releasing files.

For the final case, use the pending-payment diagnostic guide. Preserve the original order and attempt records while investigating.

Common coupon questions

Do I create the same code in both provider dashboards?

No matching provider code is required for Doorpay’s supported WooCommerce translation. WooCommerce remains the coupon engine.

Can every WooCommerce coupon combination work?

No. Native eligibility and provider representability are separate checks. The gateway’s cart, currency, quantity, tax and recurring limits still apply.

Does a 100% discount prove a paid integration works?

No. A legitimate free order tests a different flow. Use an eligible positive-value test order to validate provider payment and reconciliation.

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.