Hello all,
I have an event created and users can register other users. However, multiple registrations per user are not allowed.

Then I add 5 event products to cart and proceed to checkout. In the registrant fields, I set registrants 1 and 2 to an empty string and registrants 3, 4 and 5 to the same username.

All registrant fields are set to use the "Other account" option in the "This registration is for: (required)" dropdown.

So I expect this entry to return an error as 2 username slots are blank and the remaining username slots contain the username. But it goes right through to the next checkout step showing the 5 registrations.

Comments

feyisayo’s picture

Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new2.51 KB

I have added some validation code in the checkout pane form validation callback to prevent blank usernames and duplicate usernames

Status: Needs review » Needs work

The last submitted patch, 1: commerce_registration.checkout_pane.patch, failed testing.

feyisayo’s picture

The previous patch I created was not done properly. I have re-done it now.

feyisayo’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work
feyisayo’s picture

feyisayo’s picture

Status: Needs work » Needs review
blacklabel_tom’s picture

john.oltman’s picture

Status: Needs review » Closed (outdated)