Posted: May 8, 2021 at 2:08 pm
I am trying to correct registration information for registrations made as part of the same transaction, but when I change the registration data it changes both records. I sort-of understand that they are tied to the same contact (although I don’t know how to stop that being the case).
This is what happened:
1. Person selected two “Tables” and two “People” and got somewhat confused that they had to fill in information for all 4 records.
I assume that the null values tricked EE into linking the records in some way, but we depend on the names and emails being correct for People in order to manage contacts, on-site registration, etc.
Note: I could obviously delete and recreate the records, but the person paid for the items via PayPal and I don’t want to disconnect the payment information from the record.
How can I fix this? Also, is there any way to prevent this happening again?
So, just to confirm, in EE you now have a group registration that shows 1/4 – 4/4 in the registration list, correct?
I’m guessing 1 and 3 are ‘correct’ but 2 and 4 are not? Technically it makes no difference which numbers but I’ll refer to the ‘broken’ registrations as 2 and/or 4 for now.
So, yes the null values being added in the First name and email (how did ‘null’ pass the email validation?) will have forced EE to create a single EE_Contact for those 2 registrations (because the details matched for both registrants it used the same contact).
Starting with the simplest method first, when you click on the registration 2 or 4, in the ‘Contact Details’ metabox, does it show a ‘create contact’ button for either?
(EE should only show that button if the EE_Contact of the current registrations matched the Primary Registrant EE_Contact, so I don’t think it will show here)
I do have a snippet that adds a metabox to the edit registration page that allows you to set the ATT_ID (EE_Contact ID) on the registration, but I’m assuming these people don’t already have an EE_Contact from another registration? If not you’re going to need a function that basically allows you to do what the above Create’ contact’ button is for, but on any registration (which isn’t something we would include in core as it’s far too easy to mess up contacts that way).
Side note – when you re-apply the payment to the new transaction you can copy all of the details for the payment onto the new payment.
The support post ‘Correct registration information for registrations made as part of same transact’ 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.