Skip to content

Japanese furikomi bank transfer (銀行振り込み) payment method for Solidus

License

Notifications You must be signed in to change notification settings

cmbaldwin/solidus_furikomi

 
 

Repository files navigation

SolidusBankTransfer

This extensions adds a Japanese Bank Transfer payment method.

You can define Japanese furikomi style bank details in the backend. This data will be shown to the user in the checkout process, and sent in a confirmation email.

Currently under development.

Installation

Add solidus_furikomi to your Gemfile:

gem 'solidus_furikomi', github: 'cmbaldwin/solidus_furikomi'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_furikomi: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_furikomi/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

Copyright (c) 2022 Cody Baldwin

About

Japanese furikomi bank transfer (銀行振り込み) payment method for Solidus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 87.4%
  • HTML 9.8%
  • CSS 1.4%
  • JavaScript 1.4%