FoxyCart Web Hooks
Overview
FoxyCart can use “Web Hooks” to send critical information back to your scripts and applications. A Web Hook, or “Datafeed” as we like to call it, is simply an HTTP POST notification we send when certain events happen in your FoxyCart Store. You can send the notices to any URL you want, for example to a script on your web server. See the datafeed settings under the “advanced” section of your FoxyCart dashboard.
Below is a list of the Web Hooks present in FoxyCart version 1.1:
- Transaction XML Datafeed, sent when a customer completes a transaction.
- Subscription XML Datafeed, sent daily after processing a store's subscriptions.
An HTTP POST notification sent by FoxyCart will identify itself with a “User-Agent” HTTP Header containing the version of the store that generated the notification, for example:
POST / HTTP/1.1 User-Agent: FoxyCart Webhook v1.1 (http://wiki.foxycart.com/v/1.1/webhooks) ...