lib/active_merchant/billing/gateways/optimal_payment.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/optimal_payment.rb in activemerchant-1.87.0
- old
+ new
@@ -58,9 +58,14 @@
def capture(money, authorization, options = {})
options[:confirmationNumber] = authorization
commit('ccSettlement', money, options)
end
+ def verify(credit_card, options = {})
+ parse_card_or_auth(credit_card, options)
+ commit('ccVerification', 0, options)
+ end
+
def supports_scrubbing?
true
end
def scrub(transcript)