Support

Home Forums Event Espresso Premium WP User Integration bug – registrants not exporting

WP User Integration bug – registrants not exporting

Posted: October 31, 2015 at 9:46 pm

Viewing 10 reply threads


BCPTA

October 31, 2015 at 9:46 pm

I think there is a bug with the WP User Integration plugin.

Here is what is happening:

I’ve tested registration for an event for two ‘non-member’ users, as in, they are not logged, and can register for an event.

Then I logged in as a member (I’m using Paid Membership Pro plugin for this). This member has access to a ticket price because it is set to be available to their ‘role.’

In the logged-in member’s profile, it says the transaction is incomplete, but approved, since I manually approved all registrations. This is what that looks like: https://cloudup.com/cPDxgetDSG7

In the back end, the non-member registrants are all showing as “incomplete” but approved, because I approved them.

Here is what the back end looks like: https://cloudup.com/cD75vHvr6f8

When I click to download registrations csv file, only the non-member registrations are shown. There are two rows here but there should be four: https://cloudup.com/cswzRxUK5kd

The four registrations are:

1 – non member
2 – non member student (shows as ‘student’ in the screenshot)
3 – member purchase
4 – member purchase additional ticket under the same transcation

Member purchases were $0 on purpose – the event is free for them but they have to register. Does that make a difference here? That can’t be right though if they are showing in the WP dashboard back end. They should still export what we’re seeing in the WP screens.

Under “Contact List” the member is not showing. But two additional rows are showing for the non-member registrants, with no name attached to them. These are not emails associated with the member: https://cloudup.com/cf4uY9Ny2WX

Also note: I can’t complete transaction because the sandbox is turned on. I just click to return after hitting the paypal page. But this is happening for both logged in members and non-logged in registrants.

What’s very confusing about your system is that even if they don’t complete the transaction they get this message, saying registration is processed: https://cloudup.com/cFcAFTk26SA that’s not right – that’s misleading.

Can you please help with this?


Tony

  • Support Staff

November 2, 2015 at 4:35 am

Hi Johanna,

This member has access to a ticket price because it is set to be available to their ‘role.’

You have the role set as the capability within the ticket editor? Here – http://take.ms/NstI7

So you are logged in as a Member but placing registrations with details that do not match the logged in user details, correct? Its those registrations that do not work?

If you register as a logged in user and use the details from that users account (their name, email etc) does that registration work?

Are you using the latest version of WP Users? (Currently – 2.0.7.p)

Are you using the lest version of EE? (Currently – 4.8.19.p)


BCPTA

November 2, 2015 at 3:28 pm

Hi Tom, I’m not sure that you fully got what I was explaining. But I’ll try to help explain more.

Yes, the role is set to the ticket – that is how the logged in member was able to buy that ticket.

But the difference is not in what registration can go through.

All the registrations work. But the weird thing about your system, not a bug, is that I can “approve” registrations even if the transaction is not complete.

What is not working is the export.

Did you see the screenshots I sent over?

Or is there something you’re asking me that maybe I’m not understanding?

If the logged in user has to use the same name and email when registering for an event, in order for that registration to be exported in the csv, that doesn’t make much sense to me. What if they are buying an additional ticket? Or wanting to update their information? It says on there that what they enter in the form will be updated in their profile, right?

Is that what you’re asking me?

Anyway, the issue is with the export – it won’t export the registrations that were bought under a member log in. All statuses about other registrations can be the same, but just those ones don’t export.

Unless I’m missing something


BCPTA

November 2, 2015 at 11:02 pm

Just for more info, our plugins are at their latest versions. Sorry I got your name wrong.


Tony

  • Support Staff

November 3, 2015 at 3:31 am

Yes, I understand the problem is with exporting the registration, but registrations are linked to contacts and if there is an issue with the contact it can prevent the export 🙂

So I don’t think it’s the registration that is the problem, but the ‘contact’ created from the details you provided in the registration form which is assigned to the registration. I say this because looking at your screenshot HERE it shows contacts with no first/last name. So I’m trying to narrow down the types of registration you are doing to create these.

When your not logged in a new contact is being created with the details your providing. This isn’t linked to any user account and seems to work fine.

When you are logged in and using different details than the details within your account profile a new contact is created which is not assigned to the user account you are logged in with (which sounds like what you site is having issues with)

If you use the same details from the account the registration is assigned to the contact assigned to your account.

Registrations that are Pending Payment with Transactions that are incomplete should export without a problem, but contacts should have a first and last name (the 2 that are not exporting do not) which is why I suspect this is the issue.

Yes, the role is set to the ticket – that is how the logged in member was able to buy that ticket.

You should use capability based checking rather than role based, it will work currently, but you should use a unique capability within the role then check for the capability rather then the role. But we can come back to this later, I think its best to find out whats going on with the contacts first.

All the registrations work. But the weird thing about your system, not a bug, is that I can “approve” registrations even if the transaction is not complete.

That’s right, you can manually assign any registration status regardless of the transaction status, this is to give you (the event admin) the most control over the registrations. EE will automatically update the registration status when payment is made (for example from Pending Payment to Approved)

If the logged in user has to use the same name and email when registering for an event, in order for that registration to be exported in the csv, that doesn’t make much sense to me. What if they are buying an additional ticket? Or wanting to update their information? It says on there that what they enter in the form will be updated in their profile, right?

er integration would require logged in users to use their details within the primary registration and all registrations would be assigned to that user account. This is not the case any more, you can use different details from you user account, those details will be used to create a new ‘contact’ within EE. The registration will not be linked to the user account that was logged in when creating it (because the detail are different).

So I’m trying to work out at which point something is going wrong on your site.

As in if it is all registrations made with EE4 Users active (and logged in), if it is the process that takes the different details and creates a new contact & registration or if its something else completely 😉

That’s why I was wondering if you place a registration using the same details as the users profile, does that registration work?


BCPTA

November 6, 2015 at 11:21 pm

Hello Tony,

Thanks for your reply. I did more testing to check on the items you are wondering about, and in doing that I found more weird things happening.

I did a registration making sure the first name and last name were the same as what was in the back end user’s list in WP.

Here is the name in WP back end:
https://cloudup.com/cgbO7k5R-Xo (e-mail hidden for privacy only)

Here is what was entered on registration:
https://cloudup.com/cZ4FZia7dlL (no change made to the user account details)

This is a “regular membership” and the “role” is based on a user role set by Paid Memberships Pro plugin. It has been assigned to a ticket capability here: https://cloudup.com/csFWXQmkWVs

Paypal Sandbox is turned off.

When I went through to Paypal, and actually completed the transaction, it says here congratulations that my registration is processed: https://cloudup.com/ciELSoZm1cN

But lower on the page it says it is incomplete and pending payment:
https://cloudup.com/cwO7wt1peOS and on the back end it also says incomplete: https://cloudup.com/cxxOWfApbkO

That’s weird.

So I tried again and this time I registered under the same account, with the same role, on the same ticket type, but with a ‘free’ event.

This time it says it was complete and approved automatically.

And in the back end, it says this as well, without me having to manually approve it: https://cloudup.com/cvINP9wAbPc

So now on our registrations page in WP back end, with multiple tests, some with member logins, some without, we have 12 items: https://cloudup.com/cRPAottpI-C

And if I click to export all of them, we get this, again, only three, and all of them are non-member registrants:
https://cloudup.com/chz0GQ8PcMr

So something very strange is happening that this would not be working. I mean, even if the registrants are not approved, or payment is pending, all of that data should export anyway. And if we manually approve it, is should still export.

Can you please help us solve this problem soon?

Thanks a bunch


BCPTA

November 6, 2015 at 11:38 pm

Also just to confirm, the transaction on paypal definitely went through because I received a receipt in my inbox for it.


Tony

  • Support Staff

November 9, 2015 at 5:50 am

Hi Johanna,

Event Espresso has not received and IPN from PayPal for that transaction, so it does not know that a payment was made within PayPal.

Can you double check that Instant Payment Notifications (IPNs) are enabled within that PayPal account please?

Theres a guide to setting up PayPal here:

https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/

Follow through the steps posted there, it is important that IPNs are enabled and that they use the correct encoding (explained in the guide) for this to work.

The export issue is due to the contacts that are created with the registrations are being saved as draft, this isn’t expected and I will investigate this further.


Tony

  • Support Staff

November 9, 2015 at 1:57 pm

Hi Joyce,

​I spent some time looking over your site and can see why your registrations are not exporting, the contacts for the registrations have been Trashed, did you remove those?

​If you go to Event Espresso -> Registrations -> Contact list.

​Then view the Trashed contacts – http://take.ms/uVFve

​You’ll find the contact for your test user account is in the trash – http://take.ms/M8xXV

​So EE is ignoring the registrations on export because the contact has been trashed. If you restore that contact you’ll find more registrations export.
​(I haven’t done this so you can view what is happening) Just click the restore link under that contact.

​However that will still not export all of your registrations because of their transaction status. Registrations with Abandoned or Failed transactions will not be exported unless the registration has been Approved. I can go into more details with this shortly, but can you restore your contact and confirm if more of the registrations now export?


BCPTA

November 9, 2015 at 8:35 pm

Hello Tony,

Thank you very much for this. I restored the trashed contacts and then the export worked.

however I’m not clear on a few things, I’m hoping you could help with:

Sometimes we need to trash a contact. if we put them in trash, how do we permanently delete them?

How is a trashed contact able to perform transactions that show up under the “registrations” page? Shouldn’t this be impossible?

How is a user in the WP “users” page able to be “trashed” in the contact list for registrants? But then still show up on users in WP? Or be able to re-register without any notice they’ve been ‘trashed’?

It just seems like it’s not fully integrated or intuitive.

If we want to remove a user, and put them in the trash, they should just ‘go away’ permanently.

Then if that user wants to sign up again, they would re-do their process.

That’s how I’ve been able to re-register under the same email in WP to create those transactions on tests.

I’m also still not clear how the payment can be shown as unapproved or ‘pending’ if the paypal transaction went through, regardless of whether that user has been ‘trashed’.

Do you see how this is a bit confusing?

Any help you can offer would be great.


Tony

  • Support Staff

November 11, 2015 at 5:18 am

It sounds like there’s some confusion between EE Contacts and WP users on your site. EE contacts are not Users within your site, they are part of the EE registrations. The EE4 Users Add-on syncs the data between your EE Contact and your WP user account.

Sometimes we need to trash a contact. if we put them in trash, how do we permanently delete them?

Can I ask why you need to delete the EE contact?

Contacts make up part of your registrations, so you can not permanently delete a contact that has registrations, otherwise the registration is incomplete.

How is a trashed contact able to perform transactions that show up under the “registrations” page? Shouldn’t this be impossible?

Not with how Event Espresso is working currently.

To explain whats happening a little an try to shed some light on whats going on…

When you enter your registration details within the registration form EE checks if there is a contact within the EE Contacts that match the First name, Last name and Email address entered and then assigns that contact to the registration. So if you trash a registration and then EE created a new one with the same details, you now have 2 contacts with the same details for the same user, splitting the registrations across those contacts. There would be no way to know which contact was correct and why there was 2.

How is a user in the WP “users” page able to be “trashed” in the contact list for registrants? But then still show up on users in WP?

That’s because EE Contacts are independent of WP Users, trashing a contact will not remove the WP Users assigned to that contact nor will removing a WP User delete the EE contact.

Or be able to re-register without any notice they’ve been ‘trashed’?

I see what your saying here and will discuss this with the rest of the team, however as mentioned EE is not designed to manager user. Trashing a contact is not intended to prevent registrations etc.

If we want to remove a user, and put them in the trash, they should just ‘go away’ permanently. Then if that user wants to sign up again, they would re-do their process.

Your not removing a User, your removing an EE contact. As mentioned above allowing users to recreate contacts will mean duplicate EE contacts splitting the registrations for that contact across multiple contacts which I don’t think is expected.

If you want to remove users from your site, you can do so within the Users section of WP although that won’t remove the EE contact.

I’m also still not clear how the payment can be shown as unapproved or ‘pending’ if the paypal transaction went through, regardless of whether that user has been ‘trashed’.

When you select PayPal a pending payment is added to the transaction for the registration. The reason for this is PayPal will send an IPN to your site when you pay, this IPN updates the payment to Approved which then updates the Registration. On your site it looks like no IPN has been received, did you go through the steps posted here:

https://eventespresso.com/topic/wp-user-integration-bug-registrants-not-exporting/#post-179794

and checked that IPN’s are enabled on the PayPal account?

Viewing 10 reply threads

The support post ‘WP User Integration bug – registrants not exporting’ 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