lib/active_merchant/billing/gateways/bogus.rb in activemerchant-1.126.0 vs lib/active_merchant/billing/gateways/bogus.rb in activemerchant-1.129.0
- old
+ new
@@ -88,9 +88,13 @@
else
Response.new(true, SUCCESS_MESSAGE, { authorization: reference }, test: true)
end
end
+ def verify(credit_card, options = {})
+ authorize(0, credit_card, options)
+ end
+
def store(paysource, options = {})
case normalize(paysource)
when /1$/
Response.new(true, SUCCESS_MESSAGE, { billingid: '1' }, test: true, authorization: AUTHORIZATION)
when /2$/