I'm in the process of evaluating mylansite for a game cafe. I spent some time testing the events module and I believe I may have found bug. Here is a description of my test.
- Setup an event with 24 slots
- Setup PayPal IPN payments for the event.
- Created 25 Mambo test accounts.
- Registered the 25 test accounts for the event.
- Submitted a payment for all 25 registered accounts.
The event accepted the payment for all 25 registered accounts, so now I have an event that is supposed to only hold 24 people, but 25 people have paid.
I know that a user cannot register once all event slots have been paid for, but is there any way to restrict a registered user from paying when all slots for an event have been paid for?
Or prevent the PayPal button from being displayed and replace the payment instructions with a message saying that the event is full.
The "Pay" link would also need to be removed from the top or have it display an event is full message when someone clicks on it.
Another issue that I ran into is that the PayPal button continues to be displayed even though a person has already paid for the event. This could cause some confusion and potentially lead someone to pay for an event twice. I know that the chances of this happening would be pretty small, but it could happen. I think also that the payment instructions should be replaced with a message stating that the event has already been paid for.
I would like to see the pay button in a different location. In the LAN checklist would be perfect. Or put it in the LAN description where the payment details are.
So do you have any recommendations on removing the paypal button for those who have enrolled in an event, and have not paid, after the max # of people have paid?