1

We have the option for a user to have their main membership and a second optional add on membership.

We want the user to be able to cancel the optional membership whenever they want.

Currently have built a process to end membership by cancelling recurring contribution via the api. This works well for single memberships or if they want to cancel both.

BUT I want them to just cancel the add on.

I have tried simply removing the 'contribution_recur_id' from the membership, but when the billing cycle comes round the full amount is charged and the add on membership is reinstated.

Any ideas or examples of how to manage this?

1 Answer 1

1

You will need to set the membership status to Cancelled and update the recurring/subscription amount either from CiviCRM or payment gateway based on payment processor you are using.

1
  • Thanks. I am using stripe. I can ammend the amount, but not sure how/where civi associated the membership with the recurring contribution ID (as I cancel the membership and set the ID to none!
    – Brian
    Mar 28, 2023 at 11:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.