lib/active_merchant/billing/gateways/bluepay.rb
# Captures the funds from an authorize transaction.
# This is referred to a CAPTURE transaction in BluePay
#
# ==== Parameters
#
# * <tt>money</tt> -- The amount to be captured as an Integer value in cents.
# * <tt>identification</tt> -- The Master ID, or token, returned from the previous authorize transaction.
Captures the funds from an authorize transaction.
This is referred to a CAPTURE transaction in BluePay

Parameters

money -- The amount to be captured as an Integer value in cents.
identification -- The Master ID, or token, returned from the previous authorize transaction.
Captures the funds from an authorize transaction . This is referred to a CAPTURE transaction in BluePay Parameters money -- The amount to be captured as an Integer value in cents . identification -- The Master ID or token returned from the previous authorize transaction .
def capture(money, identification, options = {})
	post = {}
	add_address(post, options)
	add_customer_data(post, options)
        post[:RRNO]              = identification
	post[:TRANSACTION_TYPE]  = 'CAPTURE'
	post[:MODE]	         = $options[:transaction_mode]
	post[:TAMPER_PROOF_SEAL] = calc_tps(amount(money), post)
        commit(money, post)
      end
def capture ( money , identification , options = { } ) post = { } add_address ( post , options ) add_customer_data ( post , options ) post [ :RRNO ] = identification post [ :TRANSACTION_TYPE ] = 'CAPTURE' post [ :MODE ] = $options [ :transaction_mode ] post [ :TAMPER_PROOF_SEAL ] = calc_tps ( amount ( money ) , post ) commit ( money , post ) end
Captures the funds from an authorize transaction.
Captures the funds from an authorize transaction .
money
<not_specific>
identification
<not_specific>
options
<not_specific>