Browse Plugins

Testing

Never Skip Testing!

Always test thoroughly before processing real customer payments. This prevents payment issues and customer frustration.

1

Verify Test Mode is Enabled

  • Ensure test mode is checked in settings
  • Visit your store’s checkout
  • You should see a test mode warning banner

2

Place Test Order

  1. Visit your store front-end
  2. Add a product to cart (one with mapped Variant ID)
  3. Go to checkout
  4. Fill in test billing info
  5. Select “Lemon Squeezy” payment method
  6. Use test card:

Test Card Numbers

Card: 4242 4242 4242 4242
Expiry: Any future date
CVC: Any 3 digits
ZIP: Any 5 digits

Test Both Checkout Modes

If you plan to use overlay mode, test it separately. Try switching between overlay and redirect mode to make sure both work correctly with your theme.

3

Verify Order

  1. Go to WooCommerce → Orders
  2. Find your test order
  3. Status should be “Processing” or “Completed”
  4. Check order notes for transaction details
  5. Verify payment recorded correctly
  6. If your product generates a license key, check that it appears in the order metadata

4

Test Webhooks

  1. Enable debug logging in plugin settings
  2. Place another test order
  3. Go to WooCommerce → Status → Logs
  4. Select “wc-lemon-squeezy” log file
  5. Look for webhook events:
    • order_created
    • Payment success
    • Signature validation success
    • license_key_created (if applicable)

Webhook Errors?

If webhooks fail, verify your webhook secret is correct and your SSL certificate is valid. If you used auto-registration, try re-registering the webhook.

5

Test Refunds (Optional)

  1. Open completed test order
  2. Click “Refund” button
  3. Enter refund amount
  4. Click “Refund via Lemon Squeezy”
  5. Check order notes for confirmation
  6. Verify refund appears in Lemon Squeezy dashboard