All integrations
WO

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.

1

Copy your webhook endpoint URL

Go to UseLoyalty Dashboard → Settings → Integrations → WooCommerce. Copy the endpoint URL.

2

Open WooCommerce webhook settings

In your WordPress Admin, go to WooCommerce → Settings → Advanced → Webhooks. Click Add webhook.

3

Create the Order Created webhook

Set Status to Active, Topic to Order created (or Order updated), and Delivery URL to your UseLoyalty endpoint. Save.

4

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.

5

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.

6

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.created

Fires on new order creation. Use with 'Processing' or 'Completed' status filter.

order.updated

Fires when order status changes — listen for status transitions to 'completed'.

order.deleted

Fires when an order is deleted — optionally reverses points.

customer.created

Fires when a new WooCommerce customer account is registered.

coupon.created

Fires 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

Common questions