class ActiveMerchant::Billing::Flo2cashSimpleGateway

Public Instance Methods

purchase(amount, payment_method, options = {}) click to toggle source
# File lib/active_merchant/billing/gateways/flo2cash_simple.rb, line 6
def purchase(amount, payment_method, options = {})
  post = {}
  add_invoice(post, amount, options)
  add_payment_method(post, payment_method)
  add_customer_data(post, options)

  commit('ProcessPurchase', post)
end