Skip to content
0 reviews deleted for paymentHow TrustSays works
Help

Connect WooCommerce

Create a webhook in WooCommerce with the address and secret from TrustSays, and go live with automatic invitations.

Invitations2 min read
On this page
  1. Step 1: The address of your WordPress site
  2. Step 2: Create the webhook
  3. Step 3: Timing and rules
  4. Step 4: Test and go live
  5. Good to know

The connection to WooCommerce is made with a webhook that you create yourselves in WordPress. No plugin needs to be installed.

Step 1: The address of your WordPress site

  1. Open Invitations in the dashboard and choose the Automatic tab.
  2. Choose Connect next to WooCommerce.
  3. Enter The address of your WordPress site, e.g. shop.com, and choose Continue.

Step 2: Create the webhook

  1. Choose Approve access. TrustSays only gets access to orders and customers, not to payments or cards.
  2. You now see the Webhook address and a Secret. The secret is only shown now, so leave the window open.
  3. Open WooCommerce → Settings → Advanced → Webhooks, and choose "Add webhook".
  4. Topic: "Order updated". Status: Active.
  5. Paste the address into the delivery URL field and the secret into the secret field, and save.
  6. Choose Continue in TrustSays.

If you've lost the secret, choose Create a new secret and paste the new one into WooCommerce. The old one no longer works.

Step 3: Timing and rules

  • When the order is shipped uses the time the order gets the status Completed.
  • When the order is delivered can't be selected. WooCommerce doesn't report when the parcel has been delivered, so choose a waiting time that covers the delivery.
  • When the order is paid uses the status Processing, which WooCommerce sets when the payment has gone through.

Also choose the waiting time and rules. Read Send invitations automatically.

Step 4: Test and go live

  1. Choose Send a test invitation to me. The test is sent to your own email and doesn't count towards the quota.
  2. Choose Go live.

Until you choose Go live, we only count the orders. No invitations are sent, and orders from before don't get one afterwards either.

Good to know

  • If the order becomes Cancelled or Refunded before the invitation is sent, it's stopped if Skip returned orders is turned on.
  • Orders with the status Pending payment or On hold are ignored.
  • Invitations from WooCommerce are sent in Danish.
  • WooCommerce sends a test call when the webhook is created. That's completely normal.
Was this helpful?
Still need help?Write to us and we'll get back to you. We reply on weekdays between 8 and 18.Contact us

We use cookies

Necessary cookies make the site work. If you accept all, we also use cookies for statistics and to measure our own ads. Read the cookie policy