Method: ActiveMerchant::Billing::PaypalExpressGateway#setup_purchase
- Defined in:
- lib/active_merchant/billing/gateways/paypal_express.rb
permalink #setup_purchase(money, options = {}) ⇒ Object
[View source] [View on GitHub]
41 42 43 44 45 |
# File 'lib/active_merchant/billing/gateways/paypal_express.rb', line 41 def setup_purchase(money, = {}) requires!(, :return_url, :cancel_return_url) commit 'SetExpressCheckout', build_setup_request('Sale', money, ) end |