#FoxyStripe
Next we will setup your store's DataFeed, which allows FoxyCart to push transaction and user information to your FoxyStripe site. This is required for the more advanced features listed below, such as Single Sign On and Order History
In CMS > Settings > FoxyStripe
- Copy
FoxyCart DataFeed URL
to your clipboard -https://myfoxystripestore.com/foxycart
In FoxyCart > Store > Advanced:
- click 'would you like to enable your store's datafeed?' to enable the DataFeed
- Datafeed URL - paste value from FoxyStripe
Your FoxyCart store will now be able to communicate with your FoxyStripe site.
Enabling single sign on will sync user account information between your SilverStripe site and FoxyCart. If the user is logged into your SilverStripe site prior to checkout, they will be auto logged in to FoxyCart.
You can enable this feature by doing the following:
- In CMS > Settings > FoxyStripe:
- Check 'Enable Single Sign On'
- Copy
Single Sign On URL
to your clipboard -https://myfoxystripestore.com/foxycart/sso
- In FoxyCart > Store > Advanced:
- Check
enable single sign on
- Single sign on url - paste the value from FoxyStripe
- Customer password hash type - select
SHA-1, salted (suffix)
- Customer password has config - enter
40
- Check
This will setup a two way sync of user information between FoxyCart and FoxyStripe. If a user is created or modified in FoxyStripe, it will push that info via FoxyCart's API. If the user is created or modified during a FoxyCart transaction, FoxyStripe will receive the info via FoxyCart's DataFeed.
Member Profiles is recommended for user login/registration, but any member management system should work with FoxyStripe.
If you have Single Sign On enabled, you can allow your customers to view their order history in your FoxyStripe site.
Simply create an Order History page in the appropriate area of your Site Tree. Once logged in, Customers will be able to review their order history, and access receipts from FoxyCart.
HMAC Product Validation will encrypt the add to cart forms on Product Pages. This prevents a user from manipulating the form prior to adding to cart.
To enable HMAC Product Validation in FoxyStripe:
- In FoxyCart > Store > Advanced:
- Check `would you like to enable cart validation?'
- In CMS > Settings > FoxyStripe:
- Check 'enable cart validation'