Method: ActiveMerchant::Billing::NetpayGateway#capture
- Defined in:
- lib/active_merchant/billing/gateways/netpay.rb
#capture(money, authorization, options = {}) ⇒ Object
Capture an authorization
77 78 79 80 81 82 83 |
# File 'lib/active_merchant/billing/gateways/netpay.rb', line 77 def capture(money, , = {}) post = {} add_order_id(post, order_id_from()) add_amount(post, money, ) commit('PostAuth', post, ) end |