This gem is a Spree Commerce extention that integrates Shopify Offsite_Payments with Spree Commerce. As Spree extensions are Rails engines, this is therefore also a Rails engine.
It is inspired by and intended to replace spree_alipay.
Add spree_offsite_payments to your Gemfile:
gem 'spree_offsite_payments'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_offsite_payments:install
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_offsite_payments/factories'
- Fork it ( https://github.com/dapic/spree_offsite_payments/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Copyright (c) 2014 [dapic], released under the New BSD License