This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Matthew Turney (author)
Mon Dec 21 12:32:52 -0800 2009
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Wed Oct 07 14:50:04 -0700 2009 | |
| |
Rakefile | Thu Oct 23 12:50:56 -0700 2008 | |
| |
active_shipping_extension.rb | Mon Dec 21 12:32:52 -0800 2009 | |
| |
app/ | Mon Dec 21 12:32:52 -0800 2009 | |
| |
config/ | Wed Jan 28 05:31:31 -0800 2009 | |
| |
lib/ | Mon Dec 21 12:32:52 -0800 2009 | |
| |
spec/ | Tue Oct 28 07:51:44 -0700 2008 | |
| |
vendor/ | Mon Aug 31 11:38:25 -0700 2009 |
README.markdown
Active Shipping
This is a Spree extension that wraps the popular active_shipping plugin.
UPS
You will need a UPS developer account to get rate quotes (even in development and test mode.) The UPS calculators also require that you set the following configuration properties.
Spree::ActiveShipping::Config[:origin_country] Spree::ActiveShipping::Config[:origin_city] Spree::ActiveShipping::Config[:origin_state] Spree::ActiveShipping::Config[:origin_zip] Spree::ActiveShipping::Config[:ups_login] Spree::ActiveShipping::Config[:ups_password] Spree::ActiveShipping::Config[:ups_key]
It will soon be possible to set these properties through a new admin configuration screen (even sooner if someone else writes the patch!)
Global Handling Fee
Spree::ActiveShipping::Config[:handling_fee]
This property allows you to set a global handling fee that will be added to all calculated shipping rates. Specify the number of cents, not dollars.
Using Migrations
If you'd like to set your shipping configuration as part of a migration you could add something like this to your site extension.
class AddUpsConfiguration < ActiveRecord::Migration
def self.up
Spree::ActiveShipping::Config.set(:ups_login => "dpbrowning")
Spree::ActiveShipping::Config.set(:ups_password => "doublewide")
Spree::ActiveShipping::Config.set(:ups_key => "5B8DDE509EFDA5D6")
end
def self.down
end
end







