Guest User

Untitled

a guest
Jul 20th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # config/initializer/active_merchant.rb
  2.  
  3. if Rails.env.production?
  4. PAYPAL_ACCOUNT = 'production.paypal.account@domain.com'
  5. else
  6. PAYPAL_ACCOUNT = 'test.paypal.account@domain.com'
  7. ActiveMerchant::Billing::Base.mode = :test
  8. end
Add Comment
Please, Sign In to add comment