Posted: April 16, 2015 at 7:22 am
|
I’m running Event Espresso 3.1.37.1.P with Seating Chart 1.2.1-alpha. While ordering a ticket, a refresh of the confirmation page will set the total cost of the reservation to 0. When the option to skip the confirmation page is activated, a refresh of the payment page will do the same. This way, customers can easily register for events for free and their registrations appear as “payment completed” in the attendee list. This is unacceptable. Please help. |
|
Also, reloading the final confirmation page will result in double entries in the database. |
|
Hi Joël, Thanks for reporting this issue, I will raise a high priority ticket to look into it! Regarding the double entries, I am not seeing this. Refreshing the thank you page merely resend the notification. Can you clarify the exact steps taken that will produce this please? |
|
I just did some testing. The double entries only occur if the confirmation page is refreshed before. This results in the total costs being set to 0, and consequent refreshing will create double entries with new registration numbers each. |
|
Double entries are also made when the price of a seat is set to 0. |
|
Another way to get free tickets is to use the back button of the browser on the confirmation page and to submit the reservation form again. |
Hi Joël, There’s a mechanism in place to dissuade the registrants from refreshing the page. When they do that (there’s a warning not to), they are essentially re-submitting the previous page’s form. The code in place erases the prior registration along with the seating assignment. So if they refresh the page, their seating assignment is deleted from the seating chart’s seat assignment table in the database. If you prefer to make it so if they go through and refresh the page, the seating chart assignment gets transferred to the new submission that overwrites the old submission, you can make an edit to the /includes/process-registration/add_attendees_to_db.php file starting on line 125 where it has this:
You remove or comment out those lines. This will change what happens when the original registration submission is replaced, so the new registration submission will get the seating chart seat assignment. |
|
|
So the problem is that the old submission including the seating chart assignment is deleted, but the new submission doesn’t include the seating chart assignment. I commented those lines, which seems to work. Will you include the fix in the next update? |
|
There’s yet another issue. With every refresh, a new registration id and attendee id is assigned. The client and the admin will get multiple e-mails with different registration ids. This can get messy quickly if the customer chooses to pay via bank transfer. We need a unique reference id for each reservation, which apparently Event Espresso is not able to provide. Any solutions for this? |
Hi Joël, You can try setting the emails to go out after payment, or add a script to the page that disables refreshing the page. |
|
The support post ‘Tickets can be ordered for free with page refresh’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.