The TrustData PrestaShop module sends server-side conversion events to TrustData via webhooks. It uses PrestaShop's native hooks, so you add no custom code.
| PrestaShop hook | TrustData event | Shopify equivalent |
|---|---|---|
actionValidateOrder | purchase | orders/paid |
actionOrderSlipAdd | refund | orders/updated (with refunds) |
actionOrderStatusUpdate (cancelled) | refund | orders/cancelled |
actionCustomerAccountAdd | signup | customers/create |
You need:
PrestaShop prod) → click Generate keyDownload trustdata-<version>.zip from the latest PrestaShop module release on the GitHub releases page.
https://t.trustdata.tech by default)The module posts each event to https://t.trustdata.tech/webhooks/custom/{attribution_id}/{topic} with your webhook key in the Authorization header, as described in Custom webhooks.
| Event | What the payload carries |
|---|---|
purchase | Order ID, total paid with tax, currency, shipping, discount, visitor_id, customer email and name, delivery city, postal code and country, and the products |
refund (credit slip) | A refund_ conversion ID, the refunded amount, currency and the refunded products |
refund (cancelled order) | A cancelled_ conversion ID, the order total and currency |
signup | A customer_ conversion ID, visitor_id, and the customer email and name |
The module sends no consent object. TrustData reads an absent consent object as every flag set to false. It records each conversion with its value and attribution. It drops the customer details from the stored conversion, and it does not forward the conversion to ad platforms. See Consent.
To forward PrestaShop orders to an ad platform, send them from your own server with the real consent state instead.
The JS SDK sets a _trdt_vid cookie on the visitor's browser. When a customer places an order, the module reads this cookie server-side and includes visitor_id in the webhook payload. TrustData uses this to link the purchase back to the original ad click.
_trdt_vid)200 status means TrustData received the order. If it is still not attributed, TrustData found no matching session401 Unauthorized in webhook activityactionValidateOrder fires on your checkout flow. Some custom checkout modules fire different hooks