Shippo Spree Extension
The Shippo Spree extensions connects a Spree store with Shippo. Shippo will import all orders via the Spree API, allowing you to obtain shipping labels for your shipping carriers on goshippo.com. Supported carriers include USPS, UPS, FedEx, DHL Express, Canada Post and many others.
The extension will autoamtically create a new Spree user that you need to enter for your Shippo account. The setup is easy:
- Create a free Shippo account at https://goshippo.com.
- Enter your Spree's Shippo user API token in the Shippo Spree settings.
Your orders will then be imported automatically. Every shipping label you purchase on Shippo will set the Spree order automatically to "Shipped" and add the tracking number.
Installation
Add spree_shippo_labels to your Gemfile:
gem 'spree_shippo_labels'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_shippo_labels:install
Configuration
The Shippo extension allows chosen partners to automate the signup flow of Spree users. To obtain the required shippo_partner_key and shippo_partner_secret, please contact Shippo at support@goshippo.com. For individual stores, the configuration variables can be ignored.
Note
This extension is for platform partners, who manage hundreds or thousands of individual Spree sub-stores. This extension allows these partners to automatically connect each store. Our current version doesn't support Spree 3.0. Unfortunately, it's not in our short-term roadmap to bump the version.
For individual stores, however, you can easily integrate your store directly on our platform at https://goshippo.com/user/connect/ by providing your Store URL, Store Name and API Access Token.
If you have a specific request regarding the integration of multiple stores, please contact support@goshippo.com. Our team will help you find the best solution! If you're an individual store, just go ahead and connect instantly at https://goshippo.com/user/connect/.
Testing
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_shippo_labels/factories'
Copyright (c) 2014 Shippo, released under the New BSD License