Method: ActiveMerchant::Billing::PayflowGateway#cancel_recurring

Defined in:
lib/active_merchant/billing/gateways/payflow.rb

#cancel_recurring(profile_id) ⇒ Object



91
92
93
94
95
96
# File 'lib/active_merchant/billing/gateways/payflow.rb', line 91

def cancel_recurring(profile_id)
  ActiveMerchant.deprecated RECURRING_DEPRECATION_MESSAGE

  request = build_recurring_request(:cancel, 0, profile_id:)
  commit(request, options.merge(request_type: :recurring))
end