0

I am trying to setup a rule to notify donors and staff when a payment fails, but for some reason I can't get the trigger to work. Trigger is "contribution added" and condition is "contribution status = failed" (we use moneris for online payments and it does add a contribution record with status failed)

In the email message there are 2 "from" fields. I can manually type an email in one, the other is a drop-down list. However, only one email shows in the drop-down when we have dozens saved in the FROM email addresses setup.

enter image description here

6
  • would this be a useful alternative? github.com/fuzionnz/nz.co.fuzion.incompletepaymentalert
    – petednz - fuzion
    Commented Nov 4, 2022 at 18:45
  • 1
    I would try adding a failed contribution manually to see if that triggers the rule. It may be that the contribution is first being created and then set to failed after or something like that.
    – Lars SG
    Commented Nov 4, 2022 at 19:29
  • 1
    @LarsSG you are right - I manually added a failed contribution and it triggered the civirule. I think if I change my trigger to "contribution is changed" it might work
    – erin
    Commented Nov 4, 2022 at 20:27
  • @petednz-fuzion thanks, but I would like to notify the donor (especially for recurring donations that fail) as well as notify staff
    – erin
    Commented Nov 4, 2022 at 20:29
  • 1
    @erin - did changing the rule to 'Contribution is changed' work? I expect it would since contributions should be initially created as 'status = pending' and then updated. If that works, please add it as answer
    – Aidan
    Commented Nov 7, 2022 at 9:17

1 Answer 1

2

Changing the trigger to 'contribution is changed' seems to have worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.