Method: ActiveMerchant::Billing::PayflowExpressGateway#purchase

Defined in:
lib/active_merchant/billing/gateways/payflow_express.rb

#purchase(money, options = {}) ⇒ Object


75
76
77
78
79
# File 'lib/active_merchant/billing/gateways/payflow_express.rb', line 75

def purchase(money, options = {})
  requires!(options, :token, :payer_id)
  request = build_sale_or_authorization_request('Sale', money, options)
  commit(request, options)
end