FoxyCart Web Hooks
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 0.7.2:
- 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 v0.7.2 (http://wiki.foxycart.com/v/0.7.2/webhooks) ...