- Posts: 312
- Thank you received: 5
Tutorial - remove duplicate entries Event Booking
- OTWD
- Topic Author
- Offline
- Elite Member
Less
More
6 years 9 months ago #100170
by OTWD
Success consists of going from failure to failure without loss of enthusiasm.
Tutorial - remove duplicate entries Event Booking was created by OTWD
IF you have duplicates in the registrant list to remove them perform the following sql in phpmyadmin
Then as some of the eb_registrant duplicate entries removed from the table were the published versions I had to reset the unpublished registrants to published.
Code:
ALTER IGNORE TABLE `jos_eb_registrants` ADD UNIQUE INDEX tmpindex (event_id,user_id);
ALTER TABLE `jos_eb_registrants` DROP INDEX tmpindex;
Then as some of the eb_registrant duplicate entries removed from the table were the published versions I had to reset the unpublished registrants to published.
Code:
UPDATE `joom_mydb`.`jos_eb_registrants` SET `published` = '1' WHERE `published` ='0'
Success consists of going from failure to failure without loss of enthusiasm.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
6 years 9 months ago #100197
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tutorial - remove duplicate entries Event Booking
Thanks for sharing the solution. The question here is what's exactly the issue you were having?
Please Log in or Create an account to join the conversation.
- OTWD
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 312
- Thank you received: 5
6 years 9 months ago #100286
by OTWD
Success consists of going from failure to failure without loss of enthusiasm.
Replied by OTWD on topic Tutorial - remove duplicate entries Event Booking
Hi for some reason eventbooking booked in some users twice into the event.
I checked the events my client had setup and noticed in the "Advanced Settings" paypal email field was filled to the same paypal email account that was in the paypal payment plugin.
Could this have caused a duplicate transaction?
I checked the events my client had setup and noticed in the "Advanced Settings" paypal email field was filled to the same paypal email account that was in the paypal payment plugin.
Could this have caused a duplicate transaction?
Success consists of going from failure to failure without loss of enthusiasm.
Please Log in or Create an account to join the conversation.
- jkosick
- Offline
- Elite Member
Less
More
- Posts: 166
- Thank you received: 15
6 years 9 months ago #100296
by jkosick
Replied by jkosick on topic Tutorial - remove duplicate entries Event Booking
I had this same issue, I think it was due to failed payments, however I was using stripe payments. I had multiples of the same person but only one would have an actual invoice, but each duplicate had a new ID.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
6 years 9 months ago #100373
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Tutorial - remove duplicate entries Event Booking
Please note that the system stores the registration records into database before the payment is processed
So in case the payment failed (users stopped making payment when they are being redirected to payment gateway or they entered wrong credit card number), the records are still available in database (but not being shown by default - and not being counted / treated as registrants in the system)
So having duplicate records are actually not an issue.
Regards,
Tuan
So in case the payment failed (users stopped making payment when they are being redirected to payment gateway or they entered wrong credit card number), the records are still available in database (but not being shown by default - and not being counted / treated as registrants in the system)
So having duplicate records are actually not an issue.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.