Trustmary Integration for WooCommerce

Description

Trustmary Integration for WooCommerce connects your WooCommerce store with the Trustmary review and feedback platform.

When an order status changes (e.g. «Completed»), the plugin automatically sends to Trustmary:

  • Customer email address
  • Customer first name, last name and full name
  • Purchased product IDs and names
  • Order ID (as the eid external identifier)

Features:

  • Choose one or more order statuses as triggers (pending, processing, completed, etc.)
  • Browse and select Trustmary lists directly from the settings page — no need to copy-paste list IDs manually
  • Selected lists are remembered and shown automatically each time you open the settings
  • Test the API connection directly from the settings page
  • Prevents duplicate sends for the same order + status combination
  • All events logged to the WooCommerce log (channel: woocommerce-trustmary)
  • HPOS-compatible (WooCommerce 8+)
  • Developer filter: tmwc_contact_data for customising the contact payload

External services

This plugin connects to the Trustmary API (https://api.trustmary.io/v1) to deliver customer contact data collected from WooCommerce orders.

What data is sent and when:
When a WooCommerce order reaches a configured status (e.g. «Completed»), the plugin sends the following data to the Trustmary API:

  • Customer email address
  • Customer first name, last name and full name
  • Purchased product IDs and names
  • WooCommerce order ID

No data is sent unless an API key has been configured in the plugin settings and the order status matches a selected trigger.

Service provider: Trustmary Group Oy

  • Terms of Service: https://trustmary.com/terms-of-service/
  • Privacy Policy: https://trustmary.com/privacy-policy/

Installation

  1. Download the plugin as a ZIP file.
  2. In your WordPress admin, go to Plugins Add New Upload Plugin.
  3. Select the ZIP file and activate the plugin.
  4. Go to WooCommerce Settings Trustmary.
  5. Enter your Trustmary API key (found in your Trustmary account under Settings Developers).
  6. Click Test API connection to verify the key works.
  7. Click Fetch lists to load your Trustmary lists, select the ones you want, and save.

FAQ

Where do I find my Trustmary API key?

Log in to your Trustmary account, go to Settings Developers, and create a new API key.

Can the same order be sent more than once?

No. The plugin marks the order in its meta data, so the same order + status combination is only sent once.

How can I customise the data that is sent?

Use the tmwc_contact_data filter:

add_filter( 'tmwc_contact_data', function( $contact, $order, $item ) {
    $contact['field_custom_field'] = 'value';
    return $contact;
}, 10, 3 );

Where can I see what the plugin has sent?

Go to WooCommerce Status Logs and select the woocommerce-trustmary channel.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Trustmary Integration for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • Added: Browse and select Trustmary lists directly from the settings page.
  • Added: Selected lists are loaded and pre-selected automatically on page load.
  • Improved: More robust handling of different Trustmary API response formats.
  • Changed: Removed separate «send per product» mode to simplify the settings.

1.0.0

  • Initial release.