Answers.Body: <p>This works for us using IATS Payments Extension, not sure how it would be applied with other payment processors. Fuzion tokens is also required for the {contribution.latest_recur_contribution_id} token.</p>
  <p>Simply send contact this link:
  /civicrm/contribute/updatebilling?reset=1&amp;crid={contribution.latest_recur_contribution_id}&amp;{contact.checksum}</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-13T20:22:21.060Z
Answers.Text: How do you handle a scenario where a donor might have a recurring profile for a membership and an additional recurring contribution? Ideally the token would for the most recent recurring contribution ID that is linked to a membership?
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-13T20:43:31.027Z
Answers.Text: I think you'd have to add a couple specific tokens to cover that use case (which wouldn't be hard to do). Maybe one for membership contributions and one for non-membership contributions. The latest_recur_contribution_id token just returns the recurring contribution with the highest ID (the most recently created one). If this is only a small number of cases, you can just grab the recurring contribution ID manually and insert it.
Answers.UserDisplayName: Lars SG
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-13T21:11:29.147Z
Answers.Text: Thanks! I just want to set up a Civi rule that sends an email for someone to update their card if a recurring payment fails.  It seems like this token + civirules approach might work. I've never coded a token, will have to check that out.
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-13T21:38:56.260Z
Answers.Text: https://lab.civicrm.org/extensions/selfservicetokens
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-23T04:03:20.710Z
Answers.LastActivityDate: 2022-09-23T19:03:42.317Z
Answers.LastEditDate: 2022-09-23T19:03:42.317Z
Answers.UserDisplayName: Lars SG
Body: <p>Is it possible to use a message template to send an email reminder asking recurring donors to update their credit card when it fails?</p>
  
Tags: <recurring-contributions><iats>
Title: How to allow self-service updates of recurring contribution credit card details with IATS?
ThreadText: # How to allow self-service updates of recurring contribution credit card details with IATS?
  
  (Asked by: username_0 on 2022-09-23)
  
  Is it possible to use a message template to send an email reminder asking recurring donors to update their credit card when it fails?
  
  **Tags:** recurring-contributions, iats
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-09-23. Score: 3
  
  This works for us using IATS Payments Extension, not sure how it would be applied with other payment processors. Fuzion tokens is also required for the {contribution.latest\_recur\_contribution\_id} token.
  
  Simply send contact this link:
  /civicrm/contribute/updatebilling?reset=1&crid={contribution.latest\_recur\_contribution\_id}&{contact.checksum}
  
  > **Comments:**
  > **username_1**: How do you handle a scenario where a donor might have a recurring profile for a membership and an additional recurring contribution? Ideally the token would for the most recent recurring contribution ID that is linked to a membership?  
  > **username_0**: I think you'd have to add a couple specific tokens to cover that use case (which wouldn't be hard to do). Maybe one for membership contributions and one for non-membership contributions. The latest_recur_contribution_id token just returns the recurring contribution with the highest ID (the most recently created one). If this is only a small number of cases, you can just grab the recurring contribution ID manually and insert it.  
  > **username_1**: Thanks! I just want to set up a Civi rule that sends an email for someone to update their card if a recurring payment fails.  It seems like this token + civirules approach might work. I've never coded a token, will have to check that out.  
  > **username_1**: https://lab.civicrm.org/extensions/selfservicetokens  
  
  ---
  
  