CRM-21512 Remove restriction on 'Update Subscription' when a recurring contribu… #11366
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…tion has a linked membership
Overview
Currently the "Update Subscription" (ie. Edit Recurring Contribution) is not allowed when the recurring contribution is linked to a membership.
This is inconsistent with the "Change Billing Details" option which is allowed at all times and is unclear as to why it is not allowed (as it works fine with a supported payment processor).
Before
Error message when you click "Edit" on a recurring contribution from the contact summary - "You cannot update the subscription".
After
You can update the subscription. A warning is shown on the "Update Subscription" form to show that it is linked to a membership:
![localhost_8000_civicrm_contact_view_reset 1 cid 203](https://user-images.githubusercontent.com/2052161/33551186-6fe97cfc-d8e8-11e7-8e4e-abd48ccb531d.png)
Comments
This is a (non-breaking) change in behaviour so should be flagged clearly in the release notes.