Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.6
-
Fix Version/s: 4.5
-
Component/s: CiviContribute, CiviMember
-
Labels:None
-
Documentation Required?:None
Description
The bug occurs in the following circumstances:
1. one contact has two recurring payment plans
2. either both plans are "in progress" -or- one is "failed" and the other "in progress".
3. recurring payment plans both related to a currently yearly membership
You may be asking yourself, how did we get here? Well different memberships have different prices, or sometimes prices go up. Civi creates a new recurring plan for the new price. Fair enough. BUT CANCEL THE OLD PLAN and that's where the trouble starts.
In either case, if you choose "Cancel" on the older plan, it actually cancels the NEWER plan erroneously. See attached for examples.
Unfortunately prior to above issue we cannot cancel a recurring contribution in 4.5 because eventually it calls setValue api for contribution_recur entity and tries to set is_active 0 as per workflow of common/enableDisableApi.tpl. So on click 'Cancel' it gives this error http://snag.gy/ZWw7O.jpg . Also replicated in sandbox.