Method: ActiveMerchant::Billing::PaypalRecurringApi#status_recurring

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

#status_recurring(profile_id) ⇒ Object

Get Subscription Status of 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)



84
85
86
87
88
89
# File 'lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb', line 84

def status_recurring(profile_id)
  ActiveMerchant.deprecated Gateway::RECURRING_DEPRECATION_MESSAGE

  raise_error_if_blank('profile_id', profile_id)
  commit 'GetRecurringPaymentsProfileDetails', build_get_profile_details_request(profile_id)
end