Method: Braspag::Connection#void
- Defined in:
- lib/cbraspag/payment/credit_card.rb
#void(order, partial = nil) ⇒ Object
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/cbraspag/payment/credit_card.rb', line 33 def void(order, partial=nil) response = self.post(:void, order) status = (response[:status] == "0") ActiveMerchant::Billing::Response.new(status, response[:message], response, :test => homologation?) end |