From da30a94a7b17b555123a766e6738d0d6fa3ae555 Mon Sep 17 00:00:00 2001 From: camelmasa Date: Fri, 8 Apr 2016 16:01:32 +0900 Subject: [PATCH] Add komoju gateway --- Gemfile | 1 + lib/spree_gateway/engine.rb | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index 8c8b756c..1307c55c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,6 @@ source 'https://rubygems.org' gem 'spree', github: 'spree/spree', branch: '3-0-stable' +gem 'spree_komoju', '~> 0.1' gemspec diff --git a/lib/spree_gateway/engine.rb b/lib/spree_gateway/engine.rb index 50e54b61..401fe71e 100644 --- a/lib/spree_gateway/engine.rb +++ b/lib/spree_gateway/engine.rb @@ -16,6 +16,11 @@ class Engine < Rails::Engine app.config.spree.payment_methods << Spree::Gateway::CyberSource app.config.spree.payment_methods << Spree::Gateway::DataCash app.config.spree.payment_methods << Spree::Gateway::Eway + app.config.spree.payment_methods << Spree::Gateway::KomojuCreditCard + app.config.spree.payment_methods << Spree::Gateway::KomojuKonbini + app.config.spree.payment_methods << Spree::Gateway::KomojuBankTransfer + app.config.spree.payment_methods << Spree::Gateway::KomojuPayEasy + app.config.spree.payment_methods << Spree::Gateway::KomojuWebMoney app.config.spree.payment_methods << Spree::Gateway::Maxipago app.config.spree.payment_methods << Spree::Gateway::Migs app.config.spree.payment_methods << Spree::Gateway::Moneris