Body: <p>The issue is very similar to this: <a href="https://civicrm.stackexchange.com/questions/42680/how-to-allow-self-service-updates-of-recurring-contribution-credit-card-details/42681?noredirect=1#comment51106_42681">How to allow self-service updates of recurring contribution credit card details with IATS?</a> and even discussed in the commentary.</p>
  <p>What is the best way to have CiviCRM automatically send people an email when their recurring payments fail, for either membership or contribution? Ideally, this would happen via CiviRules so other actions could be taken.</p>
  <p>In the above post, CiviCRM can't handle the use-case of someone having multiple recurring contributions that may need updating because the token only targets the latest one. It was suggested a custom extension be made to solve this use case which is something I'm exploring and looking for someone to do.</p>
  <p>I've found this: <a href="https://lab.civicrm.org/extensions/selfservicetokens" rel="nofollow noreferrer">https://lab.civicrm.org/extensions/selfservicetokens</a> which requires patches to CivicRM (<a href="https://github.com/civicrm/civicrm-core/pull/22450" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/22450</a>) which remains unclear to me if it's a good idea to do.</p>
  <p>Any thoughts? I mean, all we want is this:</p>
  <p>Recurring payment profile runs, fails, then triggers an email to be sent to customer with a link to update their card or cancel the profile.</p>
  <p>Ideally, all steps of this would be customizable via UI, but that's not an absolute need.  Much appreciate your insight and expertise and commentary.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-08T18:36:37.257Z
Comments.Text: I don't recall if this covers recurring - i suspect not - and also more geared to notifying admin of a failure, but there may be something here you can re-use or add to: https://github.com/fuzionnz/nz.co.fuzion.incompletepaymentalert
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-09T20:24:27.470Z
Comments.Text: Thanks Pete! Do you know of any developer who would want a one off project making such a tool or extension? I'd love to see it in CiviCRM, because the reality is once you have a large # of recurring contributions, doing things manually isn't an option and you lose sales
Comments.UserDisplayName: Zachary
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-02-09T22:28:12.623Z
Comments.Text: I would expect several folk might be up for doing this, how about you re-ask over at https://chat.civicrm.org/civicrm/channels/town-square. We (Fuzion) could do it but it would not be in the near future I expect
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-06T13:48:09.207Z
Comments.Text: @Zachary It turned I have some code written (and tested) - for now it is just an ugly iats extension hack, going to commit a patch. Please ping me if you're interested.
Comments.UserDisplayName: yurg
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-14T17:50:15.180Z
Comments.Text: @yurg interested!
Comments.UserDisplayName: Zachary
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-16T16:24:20.187Z
Comments.Text: @Zachary Great, how do I contact you please?
Comments.UserDisplayName: yurg
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-03-22T19:00:21.653Z
Comments.Text: zkrebs at gmail
Comments.UserDisplayName: Zachary
Tags: <recurring-contributions>
Title: Allow self-service updating of contribution and membership recurring payments
ThreadText: # Allow self-service updating of contribution and membership recurring payments
  
  (Asked by: username_0 on 2023-02-07)
  
  The issue is very similar to this: [How to allow self-service updates of recurring contribution credit card details with IATS?](https://civicrm.stackexchange.com/questions/42680/how-to-allow-self-service-updates-of-recurring-contribution-credit-card-details/42681?noredirect=1#comment51106_42681) and even discussed in the commentary.
  
  What is the best way to have CiviCRM automatically send people an email when their recurring payments fail, for either membership or contribution? Ideally, this would happen via CiviRules so other actions could be taken.
  
  In the above post, CiviCRM can't handle the use-case of someone having multiple recurring contributions that may need updating because the token only targets the latest one. It was suggested a custom extension be made to solve this use case which is something I'm exploring and looking for someone to do.
  
  I've found this: <https://lab.civicrm.org/extensions/selfservicetokens> which requires patches to CivicRM (<https://github.com/civicrm/civicrm-core/pull/22450>) which remains unclear to me if it's a good idea to do.
  
  Any thoughts? I mean, all we want is this:
  
  Recurring payment profile runs, fails, then triggers an email to be sent to customer with a link to update their card or cancel the profile.
  
  Ideally, all steps of this would be customizable via UI, but that's not an absolute need. Much appreciate your insight and expertise and commentary.
  
  **Tags:** recurring-contributions
  
  > **Comments:**
  > **username_1**: I don't recall if this covers recurring - i suspect not - and also more geared to notifying admin of a failure, but there may be something here you can re-use or add to: https://github.com/fuzionnz/nz.co.username_1.incompletepaymentalert  
  > **username_0**: Thanks Pete! Do you know of any developer who would want a one off project making such a tool or extension? I'd love to see it in CiviCRM, because the reality is once you have a large # of recurring contributions, doing things manually isn't an option and you lose sales  
  > **username_1**: I would expect several folk might be up for doing this, how about you re-ask over at https://chat.civicrm.org/civicrm/channels/town-square. We (username_1) could do it but it would not be in the near future I expect  
  > **username_2**: @username_0 It turned I have some code written (and tested) - for now it is just an ugly iats extension hack, going to commit a patch. Please ping me if you're interested.  
  > **username_0**: @username_2 interested!  
  > **username_2**: @username_0 Great, how do I contact you please?  
  > **username_0**: zkrebs at gmail  
  
  ---
  
  ## 0 answers
  
  