lib/active_merchant/billing/gateways/micropayment.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/micropayment.rb in activemerchant-1.84.0
- old
+ new
@@ -10,11 +10,10 @@
self.supported_countries = %w(DE)
self.default_currency = 'EUR'
self.money_format = :cents
self.supported_cardtypes = [:visa, :master, :american_express]
-
def initialize(options={})
requires!(options, :access_key)
super
end
@@ -55,10 +54,9 @@
add_invoice(post, amount, options)
commit('refund', post)
end
def verify(credit_card, options={})
-
MultiResponse.run(:use_first_response) do |r|
r.process { authorize(250, credit_card, options) }
r.process(:ignore_result) { void(r.authorization, options) }
end
end