active merchant GATEWAY config

This commit is contained in:
Rishabh Saxena 2016-06-18 18:32:54 +05:30
parent b202984fa9
commit 809e2b7156

View file

@ -97,3 +97,9 @@ Osem::Application.configure do
end
end
ActiveMerchant::Billing::Base.mode = :test
::GATEWAY = ActiveMerchant::Billing::StripeGateway.new(
:login => ENV['SECRET_KEY'])