Method: ActiveMerchant::Billing::UsaEpayAdvancedGateway#refund

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

#refund(money, identification, options = {}) ⇒ Object

Refund a previous transaction.

Note: See run_transaction for additional options.



324
325
326
# File 'lib/active_merchant/billing/gateways/usa_epay_advanced.rb', line 324

def refund(money, identification, options = {})
  refund_transaction(options.merge!(amount: money, reference_number: identification))
end