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-webhook

Copy 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#

EventAction
tracker.createdTracking number logged to order
tracker.updatedStatus update added to order notes
DeliveredOrder auto-completed (if enabled)

Security: Always set a webhook secret for production. Without it, anyone could send fake tracking updates.