From 822efede84b3a64071bb21e380e8ed30f7493fe1 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Fri, 6 Jan 2017 19:54:17 -0800 Subject: [PATCH] undo accidental commit These credentials were never used, and are now revoked. Awkward! --- config/initializers/activemerchant.rb | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 config/initializers/activemerchant.rb diff --git a/config/initializers/activemerchant.rb b/config/initializers/activemerchant.rb deleted file mode 100644 index 01dedf2c..00000000 --- a/config/initializers/activemerchant.rb +++ /dev/null @@ -1,21 +0,0 @@ -if defined? ActiveMerchant - if Rails.env.development? - ActiveMerchant::Billing::Base.mode = :test - paypal_options = { - :login => "dti00_1309660809_biz_api1.gmail.com", - :password => "1309660841", - :signature => "A8hoaApkuosyp0eSB5fO.FMMFsFPA2E9DtCZkbNkmIuVRqeOmTOzXqQQ" - } - elsif Rails.env.production? - ActiveMerchant::Billing::Base.mode = :production - paypal_options = { - :login => "matchu1993_api1.gmail.com", - :password => "JCJ2NK5DTBZ94QNP", - :signature => "AFcWxV21C7fd0v3bYYYRCpSSRl31AFGfnit6OH.i894Lf4Bgc81N2lfc" - } - else - raise RuntimeError, "ActiveMerchant is not configured for #{Rails.env}. See config/initializers/activemerchant.rb" - end - - ::DONATION_GATEWAY = ActiveMerchant::Billing::PaypalExpressGateway.new(paypal_options) -end