Method: ActiveMerchant::Billing::AuthorizeNetArbGateway#update_recurring

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

#update_recurring(options = {}) ⇒ Object

Update a recurring payment’s details.

This transaction updates an existing Automated Recurring Billing (ARB) subscription. Your account must have ARB enabled and the subscription must have already been created previously by calling recurring(). The ability to change certain details about a recurring payment is dependent on transaction history and cannot be determined until after calling update_recurring(). See the ARB XML Guide for such conditions.

Parameters

  • options – A hash of parameters.

Options

  • :subscription_id – A string containing the :subscription_id of the recurring payment already in place for a given credit card. (REQUIRED)



113
114
115
116
117
# File 'lib/active_merchant/billing/gateways/authorize_net_arb.rb', line 113

def update_recurring(options = {})
  requires!(options, :subscription_id)
  request = build_recurring_request(:update, options)
  recurring_commit(:update, request)
end