Answers.Body: <p>Yes its safe to remove, so replace</p>
  <pre><code>{if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
  </code></pre>
  <p>with</p>
  <pre><code>{!$is_pay_later AND $amount GT 0}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-01T08:59:41.423Z
Answers.Text: Thank you so much, that did the trick
Answers.UserDisplayName: SLubbinge13
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-01-28T11:23:05.937Z
Answers.LastActivityDate: 2022-01-28T11:23:05.937Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>After updating to Civi version 5.45.1 we have this notice:</p>
  <p>You are using tokens that have been removed or deprecated.</p>
  <p>Please review your contribution_online_receipt message template and remove references to the token <code>{$contributeMode}</code> as it has been replaced by <code>{no longer available / relevant}</code></p>
  <p>I have found the <code>$contributeMode</code> in the edited plaintext version of contribution_online_receipt:</p>
  <pre><code>{if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
  
  ===========================================================
  {ts}Credit Card Information{/ts}.....
  </code></pre>
  <p>Is there a different token to replace this with, or is it safe to remove?</p>
  <p>I was not able to find much documentation on this issue</p>
  
Tags: <wordpress><tokens><system-workflow-messages>
Title: Message template token no longer available / relevant
ThreadText: # Message template token no longer available / relevant
  
  (Asked by: username_0 on 2022-01-28)
  
  After updating to Civi version 5.45.1 we have this notice:
  You are using tokens that have been removed or deprecated.
  Please review your contribution_online_receipt message template and remove references to the token {$contributeMode} as it has been replaced by {no longer available / relevant}
  I have found the $contributeMode in the edited plaintext version of contribution_online_receipt:
  {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
  
  ===========================================================
  {ts}Credit Card Information{/ts}.....
  
  Is there a different token to replace this with, or is it safe to remove?
  I was not able to find much documentation on this issue
  
  **Tags:** wordpress, tokens, system-workflow-messages
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-01-28. Score: 4 | Accepted answer
  
  Yes its safe to remove, so replace
  {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
  
  with
  {!$is_pay_later AND $amount GT 0}
  
  > **Comments:**
  > **username_0**: Thank you so much, that did the trick  
  
  ---
  
  