This plugin adds in a number of FoxyCart features to Craft to make it easier for you to add a FoxyCart powered checkout to your site.
For an overview of integrating FoxyCart into Craft utilising this plugin, see Craft CMS integration notes on the FoxyCart wiki
To enable HMAC validation, simply wrap any links or forms (or your whole page if desired) in {% hmac %}
and {% endhmac %}
tags. Note that the add to cart requires a code. For more information see this page
Raised whenever a webhook (transaction or subscription) is processed.
Params:
xml
– A decrypted SimpleXMLElement instance of the received webhook payload.feedType
- A string describing the type of webhook received ("transaction" or "subscription")craft.foxyCart.storedomain
- The store subdomain as set in your plugin settings.This plugin includes some very basic reports accessible from the "FoxyCart" CP section. This is more of a proof of concept currently than a full-fledged reports area. Currently when Craft is in devMode, test transactions are displayed, otherwise live transactions are displayed.
Some helpful debug messages are logged to a plugin specific log file of foxycart.log
.
We're accepting pull requests! All we request is that any changes you make remain accessible to all users of the plugin.
v1.0
Copyright (c) 2014 FoxyCart, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.