Answers.Body: <p>The documentation page was outdated. The correct format for event pages is</p>
  
  <pre><code>civicrm/event/register?reset=1&amp;id=XXX&amp;discountcode=YYYY
  </code></pre>
  
  <p>and </p>
  
  <pre><code>civicrm/contribute/transact?reset=1&amp;id=XXX&amp;discountcode=YYYY
  </code></pre>
  
  <p>for contribution pages</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-26T18:51:22.763Z
Answers.Text: Only one capital but such a difference ^^
Answers.UserDisplayName: Fabian
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-26T14:41:31.897Z
Answers.LastActivityDate: 2016-01-26T14:41:31.897Z
Answers.UserDisplayName: nikobo
Body: <p>I am working with CiviDiscount 3.1, CiviCRM 4.6.9 and latest Drupal. I have set up a membership discount and would like to use it on contribution pages. </p>
  
  <p>According to <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/CiviDiscount+Extension+Module" rel="nofollow">documentation</a>, for Event Pages the URL is supposed to be like this: civicrm/event/register?reset=1&amp;id=XXX&amp;discountCode=YYYY</p>
  
  <p>Can anyone tell me how the url is supposed to look for (membership) contribution pages? civicrm/contribute/transact?reset=1&amp;id=1&amp;discountCode=YYYY does not seem to work.</p>
  
Tags: <contribution-page><cividiscount>
Title: CiviDiscount - what is the correct URL for contribution pages
ThreadText: # CiviDiscount - what is the correct URL for contribution pages
  
  (Asked by: username_0 on 2016-01-11)
  
  I am working with CiviDiscount 3.1, CiviCRM 4.6.9 and latest Drupal. I have set up a membership discount and would like to use it on contribution pages.
  
  According to [documentation](http://wiki.civicrm.org/confluence/display/CRMDOC/CiviDiscount+Extension+Module), for Event Pages the URL is supposed to be like this: civicrm/event/register?reset=1&id=XXX&discountCode=YYYY
  
  Can anyone tell me how the url is supposed to look for (membership) contribution pages? civicrm/contribute/transact?reset=1&id=1&discountCode=YYYY does not seem to work.
  
  **Tags:** contribution-page, cividiscount
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-26. Score: 4 | Accepted answer
  
  The documentation page was outdated. The correct format for event pages is
  civicrm/event/register?reset=1&id=XXX&discountcode=YYYY
  
  and 
  civicrm/contribute/transact?reset=1&id=XXX&discountcode=YYYY
  
  for contribution pages
  
  > **Comments:**
  > **username_0**: Only one capital but such a difference ^^  
  
  ---
  
  