lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.77.0 vs lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.78.0
- old
+ new
@@ -73,17 +73,20 @@
store_credit_card(post, options)
commit(post)
end
-
def refund(money, authorization, options={})
post = new_request
add_amount(post, money, options)
add_invoice(post, options)
add_refund_specific_fields(post, authorization)
commit(post)
+ end
+
+ def verify(credit_card, options={})
+ authorize(0, credit_card, options)
end
private
def new_request