8000 GitHub - solidusio-contrib/solidus_wallet_backport: 💼 Backport of the Wallet feature(s) to Solidus 1.x-2.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

solidusio-contrib/solidus_wallet_backport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidus Wallet Backport

Build Status

This is an extraction of the Spree::Wallet and "Non credit card payment sources" features from Solidus 2.2, to be used on previous Solidus versions.

This adds support for payment sources other than CreditCard, which can be used to better represent other (potentially reusable) payment sources, like PayPal or Bank accounts. Previously sources like this had to implement all behaviour themselves, or try their best to quack like a credit card.

Installation

Add solidus_wallet_backport to your Gemfile:

gem 'solidus_wallet_backport'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_wallet_backport: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, and Rubocop static code analysis. 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 its factories. Simply add this require statement to your spec_helper:

require 'solidus_wallet_backport/factories'

Copyright (c) 2017 Solidus, released under the New BSD License

About

💼 Backport of the Wallet feature(s) to Solidus 1.x-2.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0