skip to Main Content

Ruby: How to initialize an active merchant gateway instance with credentials? – Shopify

From this http://www.rubydoc.info/github/Shopify/active_merchant/ActiveMerchant%2FBilling%2FBase.gateway I should just initialize an instance of active_merchant using this gateway = ActiveMerchant::Billing::Base.gateway( gateway_name ).new( :username => :some_credential :password => :some_other_credential ) But I don't know :username or :password in advance, however they are in the fixtures…

VIEW QUESTION
Back To Top
Search