Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9615 Cannot cancel auto-renew membership if processor is NOT Authorize.net or Google Checkout
  3. CRM-9636

Function which checks whether an auto-renew membership has been cancelled is looking at the wrong table (always returns false)

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.8, 4.0.8
    • Fix Version/s: 4.1.0
    • Component/s: CiviMember
    • Labels:
      None

      Description

      isSubscriptionCancelled() in CRM/Member/BAO/Membership.php is checking the contribution table rather than contribution_recur table to see if an autorenew membership is cancelled. This means it will almost always return FALSE since it will find almost always find a Completed contribution record (payment for signup or last renewal).

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: