Registration logic

  • Darren Whittaker
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 3 days ago - 1 week 3 days ago #136456 by Darren Whittaker
Registration logic was created by Darren Whittaker
I have an event with limited places and a lot of people who will potentially try to get a place.
It is set to start at a certain time so people are waiting to register.

How does the system determine if places are still available or it is full?
Is this from the initial clicking on the Register button or on successful completion of payment (via Paypal)?

My question really is, could I potentially have more people registered than I intended or could someone go through the payment stage and find that they actually don't have a place?
Last edit: 1 week 3 days ago by Darren Whittaker.

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #136463 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Registration logic

Is this from the initial clicking on the Register button or on successful completion of payment (via Paypal)?

=> The system only count successfully completion of payment, not from initial clicking on the Register.

My question really is, could I potentially have more people registered than I intended or could someone go through the payment stage and find that they actually don't have a place?


=> Honestly, overbooking could happen (because the system only check complete payment while checking the remaining capacity). So if there is one slot left for example and two people register for that remaining slot almost at the same time, over booking would happen

Tuan

Please Log in or Create an account to join the conversation.

  • Darren Whittaker
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 3 days ago - 1 week 3 days ago #136464 by Darren Whittaker
Replied by Darren Whittaker on topic Registration logic
Thank you. That’s kind of what I thought.
This COVID and it’s restrictions is making things complicated.
Is there a built in way to approve a registration before it goes to PayPal?
Alternatively I might have to set the price as Free and only send PayPal invoices to the quickest to register.
Last edit: 1 week 3 days ago by Darren Whittaker.

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #136476 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Registration logic
Hi

Maybe you can try this solution:

1. Create folder override under components/com_eventbooking/helper folder on your site
2. Get this file, unzip it, upload to components/com_eventbooking/helper/override folder (which you created above)

By doing this, the system will also count registration from the last 3 minutes of booking (even if they haven't completed payment yet - mean the system also count the registration which is in payment process - for example, when they are being redirected to Paypal) while checking the remaining available places of the event. That would reduce the risk of over booking

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

  • Darren Whittaker
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 2 days ago #136482 by Darren Whittaker
Replied by Darren Whittaker on topic Registration logic
That is fantastic. Thank you so much.

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #136484 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Registration logic
You're welcome Darren. Hope it works well for your requirement

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc