Method: ActiveMerchant::Billing::PaypalRecurringApi#bill_outstanding_amount

Defined in:
lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb

#bill_outstanding_amount(profile_id, options = {}) ⇒ Object

Bills outstanding amount to a recurring payment profile.

Parameters

  • profile_id – A string containing the profile_id of the

recurring payment already in place for a given credit card. (REQUIRED)


123
124
125
126
127
128
# File 'lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb', line 123

def bill_outstanding_amount(profile_id, options = {})
  ActiveMerchant.deprecated Gateway::RECURRING_DEPRECATION_MESSAGE

  raise_error_if_blank('profile_id', profile_id)
  commit 'BillOutstandingAmount', build_bill_outstanding_amount(profile_id, options)
end