Ecommerce Integration
WooCommerce
Connect WooCommerce orders to UseLoyalty and reward every purchase automatically.
About this integration
WooCommerce + UseLoyalty
WooCommerce powers millions of WordPress stores worldwide. UseLoyalty integrates via WooCommerce's built-in webhook system, letting you reward purchases, track referrals, and run gamified campaigns directly from your existing store without additional plugins.
Webhook endpoint
Configured in UseLoyalty dashboard
https://app.useloyalty.app/api/webhooks/woocommerce/{program-id}
This URL is generated for your account in the UseLoyalty dashboard. Each integration has its own signed endpoint.
Setup guide
Connect WooCommerce in minutes.
Follow the steps below to wire WooCommerce webhooks into your UseLoyalty program. No code required.
Copy your webhook endpoint URL
Go to UseLoyalty Dashboard → Settings → Integrations → WooCommerce. Copy the endpoint URL.
Open WooCommerce webhook settings
In your WordPress Admin, go to WooCommerce → Settings → Advanced → Webhooks. Click Add webhook.
Create the Order Created webhook
Set Status to Active, Topic to Order created (or Order updated), and Delivery URL to your UseLoyalty endpoint. Save.
Copy the secret key
WooCommerce generates a Secret Key for the webhook. Copy it and paste it into UseLoyalty Dashboard → Settings → Integrations → WooCommerce → Secret Key.
Create additional webhooks if needed
Repeat the process for Order refunded, Customer created, and any other events you want to track. Each gets the same UseLoyalty endpoint URL.
Place a test order
Use WooCommerce's BACS/Cheque payment method to place a test order and confirm the event appears in UseLoyalty activity. Switch to live payment method when ready.
Webhook events
Events to subscribe to.
Subscribe to these events in your WooCommerce dashboard when creating the webhook. UseLoyalty maps each event to your campaign rules automatically.
order.createdFires on new order creation. Use with 'Processing' or 'Completed' status filter.
order.updatedFires when order status changes — listen for status transitions to 'completed'.
order.deletedFires when an order is deleted — optionally reverses points.
customer.createdFires when a new WooCommerce customer account is registered.
coupon.createdFires when a new coupon is created — useful for syncing loyalty promo codes.
Get a tailored walkthrough
Ready to build
loyal customers?
Tell us a bit about your woocommerce loyalty program and we'll show you exactly how UseLoyalty can work for you.
- Live demo tailored to your woocommerce loyalty program
- Setup walkthrough, live in under 10 minutes
- Pricing advice based on your location count
FAQ
UseLoyalty