Support

Home Forums Event Espresso Premium wrong registration ID sent in approval email

wrong registration ID sent in approval email

Posted: January 15, 2014 at 9:01 am


Alice Erickson

January 15, 2014 at 9:01 am

Pre-approval is required on my customer’s site. I’ve got one instance so far where the email sent when the attendee is approved contains the wrong registration ID. The attendee ID is correct, but the registration ID is wrong. The registration ID sent by the approval setup actually doesn’t exist. Do you know how/why this happened? Have you seen it before? So far, we only have one of these, but my guess is that if we have one, we’ll get others.


Tony

  • Support Staff

January 15, 2014 at 9:05 am

Hi Alice,

Was the attendee that received this email a part of a group registration?


Alice Erickson

January 15, 2014 at 9:13 am

No, we don’t do group registrations.


Josh

  • Support Staff

January 15, 2014 at 7:23 pm

Hi Alice,

Is the WordPress installation running any caching?


Alice Erickson

January 16, 2014 at 11:56 am

Hi Josh,

No, it isn’t running any caching.


Josh

  • Support Staff

January 17, 2014 at 10:28 am

Hi Alice,

Has anything been customized on your site? The reason I ask it because when I test out the attendee pre-approval it doesn’t send an email with the registration ID.


Alice Erickson

January 17, 2014 at 10:38 am

Hi Josh,

I’m not sure we’re on the same page here. It wasn’t the pre-approval email that I was talking about. I’m talking about the approved email that goes out when the admin approves a person for the event. That has links to the payment page and the pdf receipt. The registration ID was wrong in the link for the pdf too.

The only customizations I’ve made are things like button text, removing the spaces available display, and the email subject line. I actually don’t think I’d done these when the email with wrong registration id went out. I updated the plugin to current before this all started, and the cosmetic text changes are ones that I’d done on the old version. I kept a list of these, since I knew I’d have to do them again. It’s a pain, but the customer insists. These never caused a problem before, and I can’t see how they would now.


Josh

  • Support Staff

January 17, 2014 at 11:06 am

Hi Alice,

The registration ID gets generated based on a timestamp. I checked the other email and it doesn’t send a registration ID either. Do you have both of the registration ID’s so we can do a comparison? The registration ID’s are based on a timestamp (the time the registration was recorded) so if we can compare them that might lead to some clues.


Alice Erickson

January 17, 2014 at 12:19 pm

Hi Josh,

The approval email, when a registrant is accept certainly does send a registration ID. This is in the link to the payment page and the pdf receipt. How else could it be? Payment needs to be collected, so the registration ID has to be in the link.
The correct registration ID is this: registration_id=892-52d6a523373f6

The link that the approval email sends is this:

http://pcr-inc.org/thank-you/?r_id=892-52d41715d967c

Which throws this error:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/pcrinc/public_html/wp-content/plugins/event-espresso/gateways/process_payments.php on line 30

If you edit the link and plug in the right registration ID, then the payment page works as it should.


Josh

  • Support Staff

January 17, 2014 at 6:34 pm

What I mean is the registration ID isn’t displayed in the email. Yes, there is a registration_ID in the payment link. And I think what happened here is the original registration got overwritten.

What I wonder is if the same person tried to register twice, so there are two registration ID’s for the same registrant. The registration IDs are generated based on the time the registration was made. The first part is the event id, which the two match, the second part is the unique ID based on the time:

“Correct” reg ID time: Wed Jan 15 2014 10:11:31 GMT-0500 (EST)

“Other” reg ID time: Mon Jan 13 2014 11:40:53 GMT-0500 (EST)

Were there any registrations made on Monday that later were deleted?

The support post ‘wrong registration ID sent in approval email’ 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.

Event Espresso