Socket
Book a DemoInstallSign in
Socket

solidus_bank_transfer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solidus_bank_transfer

bundlerRubygems
Version
0.1.0
Version published
Maintainers
1
Created
Source

SolidusBankTransfer

Build Status

This extensions add a Bank Transfer payment method.

You can define bank name, IBAN number and holder name in the backend. This data will be shown to the user in the checkout process.

Installation

Add solidus_bank_transfer to your Gemfile:

gem 'solidus_bank_transfer'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_bank_transfer:install

Testing

I usually test with PostgreSQL locally. For this to work, you need a role named postgres. If you don't have it, you can create a superuser role with

createuser -s postgres

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
DB=postgres bundle exec rake

When testing your application's integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require 'solidus_bank_transfer/factories'

Releasing

Your new extension version can be released using gem-release like this:

bundle exec gem bump -v VERSION --tag --push --remote upstream && gem release

Author

made with ❤️and ☕️by weLaika

Copyright (c) 2019 weLaika, released under the New BSD License

FAQs

Package last updated on 22 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts