/** * Performs an Express Checkout NVP API operation as passed in $api_method. * * Although the PayPal Standard API provides no facility for cancelling a subscription, the PayPal * Express Checkout NVP API can be used. * * @since 1.1 */ public static function change_subscription_status($profile_id, $new_status, $order = null) { _deprecated_function(__METHOD__, '2.0', 'WCS_PayPal::get_api()->manage_recurring_payments_profile_status()'); return WCS_PayPal::get_api()->manage_recurring_payments_profile_status($profile_id, $new_status, $order); }