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

hooks are not firing on submission of contribution pages

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: CiviContribute, CiviMember
    • Labels:
      None

      Description

      When the user submits the self-service contribution pages the following hooks are not firing:

      hook_civicrm_pre: $objectName == 'Membership' || $objectName == 'Contribution'
      hook_civicrm_post: $objectName == 'Membership'

      This makes it rather difficult to for example mark a membership with the status 'pending' if the user is paying by cheque.
      Or it's always possible that I'm totally misunderstanding things here.

        Attachments

        1. civicrm_hooks.diff
          3 kB
          dave hansen-lange
        2. civimember_hooks.patch
          3 kB
          dave hansen-lange
        3. civimember_hooks.patch
          3 kB
          dave hansen-lange
        4. civimember_hooks.patch
          2 kB
          dave hansen-lange

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: