Body: <p>We would like to set up invoices that get paid online. We have set up Invoicing and a default Contribution Page, and it looks like we can get to the payment page for a specific invoice to using the following URL structure:</p>
  <pre><code>https://example.org/civicrm/contribute/transact?reset=1&amp;id=1&amp;ccid=xxx&amp;cid=xxx
  </code></pre>
  <p>But this URL requires authentication when we include the ccid and cid params, it does not allow an anonymous Drupal user to access the page.</p>
  <p>Is there a permission setting I'm not seeing? We have &quot;allow online contributions&quot; set for anonymous users, and they can see the contribution page if we don't include the additional &quot;ccid&quot; and &quot;cid&quot; query params. It's just when we specify the contribution id that it requires a login. We'd want to be able to have anonymous users pay their invoices without requiring a Drupal login. Is this possible?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-22T03:35:32.293Z
Comments.Text: have you tried adding tokens for checksum?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-22T15:59:44.140Z
Comments.Text: @petednz-fuzion, how would I go about adding tokens for checksum?
Comments.UserDisplayName: Paul B
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-22T19:27:00.833Z
Comments.Text: am sure a quick google for civicrm token checksum would help you find the documentation > https://docs.civicrm.org/user/en/latest/common-workflows/tokens-and-mail-merge but perhaps that isn't your question and it is more about the context of what you are sending and how you are sending it?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-22T23:15:28.873Z
Comments.Text: @petednz-fuzion, I guess the issue here is the emailing feature for Invoices doesn't seem to process tokens (it doesn't translate them to values), so it does not create the actual checksum value ("cs=...") in the URL link. That's where I'm having trouble. The checksum gets processed correctly when sending a normal email to a contact in Civi, but doesn't when emailing an Invoice from the Contribution view screen. Is there a way to have Invoice mailing process tokens? Or is there a way to create a checksum value manually so I can include the cs query param myself when I send the Invoice email?
Comments.UserDisplayName: Paul B
Tags: <civicontribute><contribution-page><invoice>
Title: Invioce Online Payment for Anonymous Users?
ThreadText: # Invioce Online Payment for Anonymous Users?
  
  (Asked by: username_0 on 2021-12-22)
  
  We would like to set up invoices that get paid online. We have set up Invoicing and a default Contribution Page, and it looks like we can get to the payment page for a specific invoice to using the following URL structure:
  https://example.org/civicrm/contribute/transact?reset=1&id=1&ccid=xxx&cid=xxx
  
  But this URL requires authentication when we include the ccid and cid params, it does not allow an anonymous Drupal user to access the page.
  Is there a permission setting I'm not seeing? We have "allow online contributions" set for anonymous users, and they can see the contribution page if we don't include the additional "ccid" and "cid" query params. It's just when we specify the contribution id that it requires a login. We'd want to be able to have anonymous users pay their invoices without requiring a Drupal login. Is this possible?
  
  **Tags:** civicontribute, contribution-page, invoice
  
  > **Comments:**
  > **username_1**: have you tried adding tokens for checksum?  
  > **username_0**: @petednz-fuzion, how would I go about adding tokens for checksum?  
  > **username_1**: am sure a quick google for civicrm token checksum would help you find the documentation > https://docs.civicrm.org/user/en/latest/common-workflows/tokens-and-mail-merge but perhaps that isn't your question and it is more about the context of what you are sending and how you are sending it?  
  > **username_0**: @petednz-fuzion, I guess the issue here is the emailing feature for Invoices doesn't seem to process tokens (it doesn't translate them to values), so it does not create the actual checksum value ("cs=...") in the URL link. That's where I'm having trouble. The checksum gets processed correctly when sending a normal email to a contact in Civi, but doesn't when emailing an Invoice from the Contribution view screen. Is there a way to have Invoice mailing process tokens? Or is there a way to create a checksum value manually so I can include the cs query param myself when I send the Invoice email?  
  
  ---
  
  ## 0 answers
  
  