Method: ActiveMerchant::Billing::CredoraxGateway#verify
- Defined in:
- lib/active_merchant/billing/gateways/credorax.rb
#verify(payment_method, options = {}) ⇒ Object
252 253 254 255 256 257 258 |
# File 'lib/active_merchant/billing/gateways/credorax.rb', line 252 def verify(payment_method, = {}) amount = eligible_for_0_auth?(payment_method, ) ? 0 : 100 MultiResponse.run(:use_first_response) do |r| r.process { (amount, payment_method, ) } r.process(:ignore_result) { void(r., ) } unless eligible_for_0_auth?(payment_method, ) end end |