Please note: The code on this page is submitted by members of the FoxyCart community, and may not verified by FoxyCart.com LLC in any way, shape, or form. Please double check the code before installing. If you need help with it please post in our forum, but if we cannot offer assistance (due to unfamiliarity with this particular system or language) we apologize in advance.
A gem providing modules to easily integrate FoxyCart's SSO, Datafeed, and cart validation protocols with a Ruby application. Also abstracts the entire FoxyCart API.
Here's an example of retrieving customer info via the API:
api = FoxySync::Api::Messenger.new reply = api.customer_get :customer_email => 'foo@bar.com' reply.customer_id # is the customer's FoxyCart id
If you use Bundler just add gem “foxy_sync”
to your Gemfile and then run bundle install
. Otherwise you can gem install foxy_sync
manually.
For the most up-to-date docs, examples, and instructions please see the project homepage at https://github.com/tablexi/foxy_sync