Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code. 

If you need assistance with this, please reach out to our list of consultants for further assistance:

Cancel a member's payment profile. This will end their recurring subscription with the payment gateway.


  • $user_id - ID of the member to cancel.
  • $set_status (bool) (optional) - Whether or not to update the member's account status to 'canceled'. The default is true.

Return values:

  • true if the profile was successfully canceled.
  • false if the profile wasn't canceled, due to an error with the gateway or because the user isn't able to cancel their profile (see rcp_can_member_cancel()).
Have more questions? Submit a request
Powered by Zendesk