BCRM / www

Source code for the Symfony based website, in use until 2016
MIT License
3 stars 1 forks source link

[WIP] Paid tickets #13

Closed coderbyheart closed 9 years ago

coderbyheart commented 9 years ago

This PR changes the way we handle the event registration. Starting with 2015 we need to collect a registration fee of 10,- € per ticket.

The registration process needs to be changed, so that user need to pay for their ticket before they receive their ticket.

As the number of tickets is limited per day, a new ticket state needs to be introduced: payment-pending which states that a ticket is reserved for a user but has not been paid. Only if the payment is recorded within 3 days the tickets will be marked paid and the user will receive them via email. If the tickets are not paid withing 3 days the registration and the unpaid tickets will be deleted thus freeing up ticket slots. If there are more registrations than available tickets the next registration from the waiting list is processed and tickets for this registration are created as payment-pending and the user is notified to initiate the payment.

Testing

You can test this PR on https://bcrm.coderbyheart.de/. You can use your personal email address for buying tickets.

On Paypal use these credentials during the checkout: Login: demo-kunde@barcamp-rheinmain.de Password: 2_Y2BFr7

Todo

coderbyheart commented 9 years ago

@calibanatspace you are welcome to test this new feature, see "Testing" above.