lib/active_merchant/billing/gateways/transbank_oneclick.rb
def void(authorization, options = {})
        data = {}
        add_order(data, authorization)

        commit :reverse, data
      end
# Void or "reversa" as Transbank call it can only be called 24
# hours after a purchase operation.
# Its main purpose is to cancel an operation if something
# went wrong during the purchase process.
Void or "reversa" as Transbank call it can only be called 24
hours after a purchase operation.
Its main purpose is to cancel an operation if something
went wrong during the purchase process.
Void or " reversa " as Transbank call it can only be called 24 hours after a purchase operation . Its main purpose is to cancel an operation if something went wrong during the purchase process .
def void(authorization, options = {})
        data = {}
        add_order(data, authorization)
        commit :reverse, data
      end
def void ( authorization , options = { } ) data = { } add_order ( data , authorization ) commit :reverse , data end
Void or "reversa" as Transbank call it can only be called 24
hours after a purchase operation.
Void or " reversa " as Transbank call it can only be called 24 hours after a purchase operation .
authorization
options