Method: ActiveMerchant::Billing::PayflowExpressGateway#setup_authorization

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

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

[View source] [View on GitHub]

91
92
93
94
95
96
# File 'lib/active_merchant/billing/gateways/payflow_express.rb', line 91

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

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