Answers.Body: <p>In this case it was &quot;Enable self-service cancellation of a recurring contribution&quot; checkbox on iATS payment settings page.</p>
  <p><a href="https://i.sstatic.net/hO97d.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hO97d.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-29T20:31:45.027Z
Answers.LastActivityDate: 2021-09-29T20:31:45.027Z
Answers.UserDisplayName: yurg
Answers.Body: <p>Could you check if there are any special chars in the base url defined in civicrm.settings.php?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-27T22:28:59.673Z
Answers.Text: Thank you for your response. Nothing odd, apart from double quote around $civicrm_setting['URL Preferences']['userFrameworkResourceURL'] value under "Additional settings generated by installer:"
Answers.UserDisplayName: yurg
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-27T13:50:33.737Z
Answers.LastActivityDate: 2021-09-27T13:50:33.737Z
Answers.UserDisplayName: FullStack-Dev
Body: <p>A contributor complains it is not possible to remove from the automatic renewal option using a link in  &quot;You can cancel the auto-renewal option by visiting this web page.&quot; sentence. I've checked and indeed, the link redirects to <strong>http://%22%22/</strong></p>
  <p>Link token  <code>{$cancelSubscriptionUrl}</code>   has been found in <strong>Contributions - Receipt (on-line)</strong> message template.</p>
  <p>Underneath link (&quot;You can update billing details for this automatically renewed membership by visiting ...&quot;) works fine.</p>
  <p>Should this &quot;$cancelSubscriptionUrl&quot; be activates / set up somewhere in CiviCRM admin area? Or the link is being sanitized somehow? Wrong / non-existing token maybe? There is not much about <strong>$cancelSubscriptionUrl</strong> in the civicrm codebase, a few mentions found in email templates only.</p>
  <p>WordPress 5.8 and CiviCRM 5.39.0</p>
  
Tags: <wordpress><civicontribute><email><contributions><receipts>
Title: $cancelSubscriptionUrl in a Contribution Receipt email links to http://%22%22/
ThreadText: # $cancelSubscriptionUrl in a Contribution Receipt email links to http://%22%22/
  
  (Asked by: username_0 on 2021-09-27)
  
  A contributor complains it is not possible to remove from the automatic renewal option using a link in "You can cancel the auto-renewal option by visiting this web page." sentence. I've checked and indeed, the link redirects to **http://%22%22/**
  
  Link token `{$cancelSubscriptionUrl}` has been found in **Contributions - Receipt (on-line)** message template.
  
  Underneath link ("You can update billing details for this automatically renewed membership by visiting ...") works fine.
  
  Should this "$cancelSubscriptionUrl" be activates / set up somewhere in CiviCRM admin area? Or the link is being sanitized somehow? Wrong / non-existing token maybe? There is not much about **$cancelSubscriptionUrl** in the civicrm codebase, a few mentions found in email templates only.
  
  WordPress 5.8 and CiviCRM 5.39.0
  
  **Tags:** wordpress, civicontribute, email, contributions, receipts
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2021-09-29. Score: 1 | Accepted answer
  
  In this case it was "Enable self-service cancellation of a recurring contribution" checkbox on iATS payment settings page.
  
  [![enter image description here](https://i.sstatic.net/hO97d.png)](https://i.sstatic.net/hO97d.png)
  
  
  ---
  
  ### Answer by username_1 on 2021-09-27. Score: 0
  
  Could you check if there are any special chars in the base url defined in civicrm.settings.php?
  
  > **Comments:**
  > **username_0**: Thank you for your response. Nothing odd, apart from double quote around $civicrm_setting['URL Preferences']['userFrameworkResourceURL'] value under "Additional settings generated by installer:"  
  
  ---
  
  