Skip to content

Functionality to handle cash on delivery type payments for Spree Commerce.

License

Notifications You must be signed in to change notification settings

zain510/spree_cash_on_delivery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree Cash On Delivery

Spree Cash On Delivery extension allows web store administrator to ship order before payment is done.

Instruction

  1. Define new payment method in the backend of the webstore. Assign PaymentMethod::CashOnDelivery type to it.
  2. Assign payment with method defined above to order.

Installation

Check available branches for specific version of Spree Commerce web store and add to your Gemfile:

gem 'spree_cash_on_delivery', github: 'musashimm/spree_on_cash_delivery', branch: <BRANCH_NAME>

For example for Spree version 3.0.x it goes:

gem 'spree_cash_on_delivery', github: 'musashimm/spree_on_cash_delivery', branch: 3-0-stable

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_cash_on_delivery:install

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_cash_on_delivery/factories'

Copyright (c) 2015 spree_cash_on_delivery, released under the New BSD License

About

Functionality to handle cash on delivery type payments for Spree Commerce.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 96.0%
  • CSS 2.0%
  • JavaScript 2.0%