Method: ActiveMerchant::Billing::PayflowExpressGateway#setup_purchase

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

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

[View source] [View on GitHub]

98
99
100
101
102
103
# File 'lib/active_merchant/billing/gateways/payflow_express.rb', line 98

def setup_purchase(money, options = {})
  requires!(options, :return_url, :cancel_return_url)

  request = build_setup_express_sale_or_authorization_request('Sale', money, options)
  commit(request, options)
end