Method: ActiveMerchant::Billing::PacNetRavenGateway#capture

Defined in:
lib/active_merchant/billing/gateways/pac_net_raven.rb

#capture(money, authorization, options = {}) ⇒ Object



70
71
72
73
74
75
76
77
# File 'lib/active_merchant/billing/gateways/pac_net_raven.rb', line 70

def capture(money, authorization, options = {})
  post = {}
  post['PreauthNumber'] = authorization
  post['PRN'] = @options[:prn]
  add_currency_code(post, money, options)

  commit('cc_settle', money, post)
end