lib/active_merchant/billing/gateways/payflow.rb in activemerchant-1.46.0 vs lib/active_merchant/billing/gateways/payflow.rb in activemerchant-1.47.0
- old
+ new
@@ -42,9 +42,13 @@
def refund(money, reference, options = {})
commit(build_reference_request(:credit, money, reference, options), options)
end
+ def verify(payment, options={})
+ authorize(0, payment, options)
+ end
+
# Adds or modifies a recurring Payflow profile. See the Payflow Pro Recurring Billing Guide for more details:
# https://www.paypal.com/en_US/pdf/PayflowPro_RecurringBilling_Guide.pdf
#
# Several options are available to customize the recurring profile:
#