Method: ActiveMerchant::Billing::PayGateXmlGateway#refund
- Defined in:
- lib/active_merchant/billing/gateways/pay_gate_xml.rb
#refund(money, authorization, options = {}) ⇒ Object
186 187 188 189 190 191 192 |
# File 'lib/active_merchant/billing/gateways/pay_gate_xml.rb', line 186 def refund(money, , = {}) action = 'refundtx' [:money] = money [:authorization] = commit(action, build_request(action, )) end |