Autodiscount does not work when the event page has participantId in the URL.
To replicate -
- Create a discount code for an event and enable automatic discount for Membership status = New, Current.
- Create a membership for the logged in contact and visit Registration page for the event. Automatic discount is working. (correct)
- Create a backend registration for the contact with status = pending from waitlist.
- Visit the registration page again with participantId= in the URL. Auto-discount does not work. (Incorrect).
The problem is when a participant is added to the waitlist and as soon as space is available, the link in the email has participantId
in it, but when he tries to register - no discount is auto-applied as it happens for normal registration.