Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17265

Automatic Discount not applied when participant confirms registration from wait list

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      When a person registers on the wait list for a paid event which they would receive an automatic discount for based on membership status, and then a spot becomes available for that event, they are not given the automatic discount.

      Unable to reproduce on demo since it doesn't seem that user accounts can be created on demo. To replicate the issue, the user registering for the event with an automatic discount needs to be logged in for CiviCRM to verify membership status.

      Here is the basic explanation of the behavior we are seeing:

      1. We have a paid event that gives a 10% discount automatically applied to logged in users with a current membership.
      2. When the event is not full, a logged in user with a current membership is shown the member price. If the user is not logged in, or doesn't have a current membership, the non-member price is displayed. So far, so good.
      3. User visits the registration page for this paid event, if it's full they are shown the "event is full but click register to be put on a wait list" message as expected.
      4. User clicks “register now”, fills out the profile questions, and is added to the wait list as expected.
      5. Course spots open up either through participants canceling or an Admin increasing the max number of participants allowed for the event.
      6. CiviCRM automatically sends an email to users on the wait list with a link for them to confirm their registration.
      7. User clicks the link in the email and is taken to a screen where they are asked to either confirm or cancel their registration. User clicks confirm.
      8. User is brought to the registration page, with their participantId in the URL.
      9. User is shown the non-member price—whether they are logged in or not.
      10. Expected behavior is that if the user is logged in and a member with the correct membership type and status, they would be given the automatic discount
      11. Side note: we have field help text next to the price field that states "If you are a current member but the non-member price is showing, check to make sure you are logged in with the proper user account. If unable to remedy, contact example@example.com before continuing with your registration."

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              EvanC Evan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: