active merchant GATEWAY config
This commit is contained in:
parent
b202984fa9
commit
809e2b7156
1 changed files with 6 additions and 0 deletions
|
|
@ -97,3 +97,9 @@ Osem::Application.configure do
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
ActiveMerchant::Billing::Base.mode = :test
|
||||
|
||||
::GATEWAY = ActiveMerchant::Billing::StripeGateway.new(
|
||||
:login => ENV['SECRET_KEY'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue