Webhooks
Real-time tracking updates via EasyPost webhooks.
EasyPost Webhooks#
Webhooks allow your store to receive real-time tracking updates from EasyPost.
Setting Up Webhooks#
In your EasyPost Dashboard, navigate to Webhooks.
Add a new webhook with the URL shown in your plugin settings:
https://yourdomain.com/wp-json/wcpti/v1/easypost-webhookCopy the HMAC webhook secret from EasyPost and paste into Webhook Secret in Gyta Buyback → Settings → EasyPost tab.
Auto-Complete on Delivery#
Enable in EasyPost settings. When a package is delivered, the order auto-completes, triggering the completion email.
Tracked Events#
| Event | Action |
|---|---|
| tracker.created | Tracking number logged to order |
| tracker.updated | Status update added to order notes |
| Delivered | Order auto-completed (if enabled) |
Security: Always set a webhook secret for production. Without it, anyone could send fake tracking updates.
