Method: ActiveMerchant::Billing::PaypalExpressGateway#purchase
- Defined in:
- lib/active_merchant/billing/gateways/paypal_express.rb
permalink #purchase(money, options = {}) ⇒ Object
[View source] [View on GitHub]
57 58 59 60 61 |
# File 'lib/active_merchant/billing/gateways/paypal_express.rb', line 57 def purchase(money, = {}) requires!(, :token, :payer_id) commit 'DoExpressCheckoutPayment', ('Sale', money, ) end |