Method: ActiveMerchant::Billing::QvalentGateway#refund
- Defined in:
- lib/active_merchant/billing/gateways/qvalent.rb
#refund(amount, authorization, options = {}) ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/active_merchant/billing/gateways/qvalent.rb', line 63 def refund(amount, , = {}) post = {} add_invoice(post, amount, ) add_reference(post, , ) add_customer_data(post, ) add_soft_descriptors(post, ) post['order.ECI'] = [:eci] || 'SSL' add_customer_reference(post, ) commit('refund', post) end |