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

include contribution_id with contribution token return properties so it can be used in hooks

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.16
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      currently, the data passed to the token hooks from a contribution source (such as the thank you letter task) does not include the contribution ID. this makes it impossible to create contribution-specific tokens via hooks. we should pass the contribution ID along with the contact ID in this context.

        Attachments

          Activity

            People

            • Assignee:
              lcdweb Brian Shaughnessy
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: