Method: ActiveMerchant::Billing::VisanetPeruGateway#verify

Defined in:
lib/active_merchant/billing/gateways/visanet_peru.rb

#verify(credit_card, options = {}) ⇒ Object



68
69
70
71
72
73
# File 'lib/active_merchant/billing/gateways/visanet_peru.rb', line 68

def verify(credit_card, options = {})
  MultiResponse.run(:use_first_response) do |r|
    r.process { authorize(100, credit_card, options) }
    r.process(:ignore_result) { void(r.authorization, options) }
  end
end