Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-9172

hook_civicrm_pre and hook_civicrm_post not triggered when membership updated from contribution status change.

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.7
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      If a contact has a pending membership with a related pending contribution and the back-office updates the related contribution, marking it paid, the membership (status and other) is subsequently updated, but the hooks are not called, leaving no capability to act on that change.

      I noticed this as I was trying to develop a hook to create a pending activity (for follow-up workflow) any time a contact became a new member.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jaymcgraw Jason McGraw
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: