Skip to content

Integrates Shopify Offsite_Payments (extracted the "billing integration" code from Active_Merchant) with Spree Commerce

License

Notifications You must be signed in to change notification settings

dapic/spree_offsite_payments

Repository files navigation

SpreeOffsitePayments

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.

Installation


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

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

Contributing

  1. Fork it ( https://github.com/dapic/spree_offsite_payments/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Copyright (c) 2014 [dapic], released under the New BSD License

About

Integrates Shopify Offsite_Payments (extracted the "billing integration" code from Active_Merchant) with Spree Commerce

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages