Method: ActiveMerchant::Billing::AdyenGateway#purchase
- Defined in:
- lib/active_merchant/billing/gateways/adyen.rb
#purchase(money, payment, options = {}) ⇒ Object
44 45 46 47 48 49 50 51 52 53 |
# File 'lib/active_merchant/billing/gateways/adyen.rb', line 44 def purchase(money, payment, = {}) if [:execute_threed] || [:threed_dynamic] (money, payment, ) else MultiResponse.run do |r| r.process { (money, payment, ) } r.process { capture(money, r., ()) } end end end |