Answers.Body: <p>Richard - I have used 100% discount w/Civi 4.3 + pricesets. I assume you included all your priceset options in your discount code configuration (you said you had complex pricing) since the 99% worked? CiviEvent code checks that prices do not go <em>below</em> zero but zero should be fine. You mentioned you're using offline registration ("Register Event Participant") which goes through a different codepath in cividiscount than 'online'.<br>
  You or one of your team could set up a test participant, use the 100% discount, and afterwards query the MySQL database table cividiscount_track, and see if you don't find a row for that participant (cividiscount_track.entity_id is a FK on cividiscount_track, where entity_id = civicrm_participant id).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-16T15:41:00.550Z
Answers.LastActivityDate: 2015-04-16T15:41:00.550Z
Answers.UserDisplayName: Lesley Evensen
Answers.Body: <p>I did have troubles with 100% discounts on older versions of cividiscount, upgrading to cividiscount 3.2 fixed them for me.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-18T23:21:41.743Z
Answers.LastActivityDate: 2016-05-18T23:21:41.743Z
Answers.UserDisplayName: Josh
Answers.Body: <p>This is likely something to do with your installation. Please try to replicate on a demo server. If you are able to then it would be nice for you to create a bug report. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-10T12:08:16.993Z
Answers.LastActivityDate: 2015-04-10T12:08:16.993Z
Answers.UserDisplayName: Joe Murray
Body: <p>We recently ran our first civiEvent with online bookings (and quite complex pricing). I installed civiDiscount and configured two coupon codes for groups who should be free - the event organisers and the National Council of the parent organisation.
  I set the discount level to 100%, and while the coupons were registered as having been used, it did not change the price on the registration form at all.
  When I set one of the discounts to 99%, it worked as it should.
  Fortunately, all our payments were offline, but it meant we couldn't report reliable income figures.</p>
  
  <p>From my reading of the documentation, a 100% discount should be possible, so is this in fact a bug?</p>
  
  <p>Richard</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-09T17:11:29.257Z
Comments.Text: Which version of CiviCRM are you on (you can see the CiviCRM version on the bottom of any CiviCRM page or on the list of modules)? I have seen it work properly on multiple versions of CiviCRM so that would be surprising if it suddenly stopped working.
Comments.UserDisplayName: Kasia W
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-10T01:10:15.173Z
Comments.Text: We are on 4.4.4 (until I get the test-site working again in order to test the upgrade process to 4.6).
Comments.UserDisplayName: Richard Grevers
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-10T03:35:05.887Z
Comments.Text: This functionality is being used fairly successfully on civicrm.org. However the price set is a lot simpler for civicon registration
Comments.UserDisplayName: Donald Lobo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-12T06:43:44.067Z
Comments.Text: I've had problems using CiviDiscount on sites running Drupal 6. It's not 100% clear from your question whether you are using a price set. As I recall the issue I saw was that the only way to get a discount code to work was to use a price set, even when the pricing was very simple and didn't require one.
Comments.UserDisplayName: Graham
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-14T12:25:43.420Z
Comments.Text: 100% discounts work. But there is a caveat. If you have a use case where you aren't going to put a payment processor on a contribution form because *everyone* will use a discount code (purchased elsewhere) then someone doesn't need to enter *anything* into the field to get the benefit of the discount. Just hit Apply with an empty text box. This is because the discount field can't be marked as required.
Comments.UserDisplayName: herb
Tags: <civievent><cividiscount>
Title: Why does a 100% discount not work?
ThreadText: # Why does a 100% discount not work?
  
  (Asked by: username_0 on 2015-04-09)
  
  We recently ran our first civiEvent with online bookings (and quite complex pricing). I installed civiDiscount and configured two coupon codes for groups who should be free - the event organisers and the National Council of the parent organisation.
  I set the discount level to 100%, and while the coupons were registered as having been used, it did not change the price on the registration form at all.
  When I set one of the discounts to 99%, it worked as it should.
  Fortunately, all our payments were offline, but it meant we couldn't report reliable income figures.
  
  From my reading of the documentation, a 100% discount should be possible, so is this in fact a bug?
  
  username_0
  
  **Tags:** civievent, cividiscount
  
  > **Comments:**
  > **username_1**: Which version of CiviCRM are you on (you can see the CiviCRM version on the bottom of any CiviCRM page or on the list of modules)? I have seen it work properly on multiple versions of CiviCRM so that would be surprising if it suddenly stopped working.  
  > **username_0**: We are on 4.4.4 (until I get the test-site working again in order to test the upgrade process to 4.6).  
  > **username_2**: This functionality is being used fairly successfully on civicrm.org. However the price set is a lot simpler for civicon registration  
  > **username_3**: I've had problems using CiviDiscount on sites running Drupal 6. It's not 100% clear from your question whether you are using a price set. As I recall the issue I saw was that the only way to get a discount code to work was to use a price set, even when the pricing was very simple and didn't require one.  
  > **username_4**: 100% discounts work. But there is a caveat. If you have a use case where you aren't going to put a payment processor on a contribution form because *everyone* will use a discount code (purchased elsewhere) then someone doesn't need to enter *anything* into the field to get the benefit of the discount. Just hit Apply with an empty text box. This is because the discount field can't be marked as required.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_5 on 2015-04-16. Score: 5
  
  username_0 - I have used 100% discount w/Civi 4.3 + pricesets. I assume you included all your priceset options in your discount code configuration (you said you had complex pricing) since the 99% worked? CiviEvent code checks that prices do not go *below* zero but zero should be fine. You mentioned you're using offline registration ("Register Event Participant") which goes through a different codepath in cividiscount than 'online'.  
  You or one of your team could set up a test participant, use the 100% discount, and afterwards query the MySQL database table cividiscount\_track, and see if you don't find a row for that participant (cividiscount\_track.entity\_id is a FK on cividiscount\_track, where entity\_id = civicrm\_participant id).
  
  
  ---
  
  ### Answer by username_6 on 2016-05-18. Score: 1
  
  I did have troubles with 100% discounts on older versions of cividiscount, upgrading to cividiscount 3.2 fixed them for me.
  
  
  ---
  
  ### Answer by username_7 on 2015-04-10. Score: 1
  
  This is likely something to do with your installation. Please try to replicate on a demo server. If you are able to then it would be nice for you to create a bug report.
  
  
  ---
  
  