WooCommerce Integration
The LauncherForge Commerce for WooCommerce plugin connects WooCommerce orders to LauncherForge game-key delivery.WooCommerce handles checkout, taxes, payment methods, refunds, and customer emails. LauncherForge generates the game key. The plugin joins both systems.
What the plugin does
Requirements
- WordPress with WooCommerce active.
- LauncherForge Commerce for WooCommerce plugin.
- Active Commerce API add-on.
- Complete Commerce API key.
- LauncherForge App ID for every game product.
- CD-Key protection enabled for each mapped game.
1. Install the plugin
1
Open the plugin installer
In WordPress, open Plugins → Add New Plugin → Upload Plugin.
2
Upload the ZIP
Select
launcherforge-commerce-for-woocommerce.zip.3
Install and activate
Install the plugin, then activate it.

2. Configure the integration
Open:
3. Create the WooCommerce product
Open:

Use the numeric App ID expected by Commerce API. Do not enter the game slug.
4. Run a manual test
For the clearest manual test:1
Create an order
Open WooCommerce → Orders → Add Order.
2
Add the buyer email
Enter a billing email.
3
Add the mapped product
Add the LauncherForge-enabled WooCommerce product.
4
Save the order
Save the order before changing its final status.
5
Mark it as Completed
Change the order status to Completed and save again.

5. Verify the result
Open the order and check:- An order note confirming that LauncherForge generated the key.
- The key displayed under the order item.
- A LauncherForge delivery ID.
- The new key in LauncherForge.


Email delivery
The LauncherForge backend does not email the buyer for external deliveries. The WooCommerce plugin adds generated keys to customer order emails using WooCommerce’s email system. This means:Your WordPress installation must be able to send email. For production, configure a reliable WordPress mail transport or SMTP plugin according to your hosting environment.
Quantities
If the customer buys quantity3, the plugin requests three keys.
Each unit uses a different idempotency key, so retries do not duplicate licenses.
Background processing
The plugin schedules delivery work through WooCommerce Action Scheduler. Open:
- Pending.
- Complete.
- Failed.
Retry a failed delivery
Open the order and use:Logs
Enable Debug logging in the integration settings, then open:
Common problems
No LauncherForge fields appear in the product
Confirm that:- WooCommerce is active.
- The LauncherForge plugin is active.
- The product is being edited through WooCommerce.
The order completes but no key appears
Confirm that:- The integration is enabled.
- The complete API key is saved.
- LauncherForge delivery is enabled on the product.
- The App ID is numeric and correct.
- CD-Key protection is enabled for the game.
- The Commerce API add-on is active.
INVALID_COMMERCE_API_KEY
The saved credential is invalid or contains only the prefix. Regenerate it in LauncherForge and copy the full value.
EXTERNAL_GAME_NOT_AVAILABLE
The App ID is wrong, the game belongs to another workspace, or CD-Key protection is disabled.
Production checklist
- Use a staging store first.
- Keep debug logging disabled after testing.
- Configure reliable WordPress email delivery.
- Test the real payment gateway in sandbox mode.
- Verify customer email and My Account display.
- Test quantity greater than one.
- Test a repeated status update to confirm no duplicate keys.
- Protect WordPress administrator access.
