Method: ActiveMerchant::Billing::PayeezyGateway#capture
- Defined in:
- lib/active_merchant/billing/gateways/payeezy.rb
#capture(amount, authorization, options = {}) ⇒ Object
71 72 73 74 75 76 77 78 79 |
# File 'lib/active_merchant/billing/gateways/payeezy.rb', line 71 def capture(amount, , = {}) params = { transaction_type: 'capture' } (params, ) add_amount(params, amount, ) add_soft_descriptors(params, ) commit(params, ) end |