Method: ActiveMerchant::Billing::BridgePayGateway#refund
- Defined in:
- lib/active_merchant/billing/gateways/bridge_pay.rb
#refund(amount, authorization, options = {}) ⇒ Object
53 54 55 56 57 58 59 60 |
# File 'lib/active_merchant/billing/gateways/bridge_pay.rb', line 53 def refund(amount, , = {}) post = initialize_required_fields('Return') add_invoice(post, amount, ) add_reference(post, ) commit(post) end |