Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E emailapi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • emailapi
  • Merge requests
  • !33

Support contribution tokens on CiviRules 2.23+

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed JonGold requested to merge JonGold/emailapi:civirules223-fix into master Apr 13, 2021
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

It turns out issue #19 (closed) also affects Email API 2.x. This is the fix.

To replicate:

  • Create a message template with a contribution token (e.g. {contribution.total_amount}.
  • Create a CiviRule that triggers on a contribution that sends an email using said template.

On CiviRules 2.22, it works. On CiviRules 2.23 it doesn't, since array indexes are capitalized differently.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: civirules223-fix