# File lib/active_merchant/billing/gateways/eway_managed.rb, line 84 def purchase(money, billing_id, options={}) post = {} post[:managedCustomerID] = billing_id.to_s post[:amount]=money add_invoice(post, options) commit("ProcessPayment", post) end