Home › Forums › Calendar Products › Community Events › Attendee list no longer auto-populating from completed orders?
- This topic has 12 replies, 4 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
October 28, 2015 at 3:32 pm #1019574
Joseph
ParticipantHi there,
I had previously been working on using coupon codes to allow a purchaser to register other users for events (please see above for details). This was 100% working at the time the above thread was closed.
Today when I was doing training with the client for the site, however, it no longer works. The system orders are still properly generated for the attached users and appear as completed in the order list, but the corresponding attendees (assigned “purchasers” of the generated orders) do not appear in the attendee list for the event. To my knowledge, the attendee list is essentially a list of users who have purchased the given ticket (product).
Since Sept 1 when this was working, I have only made one change to the system, which was to attach WooCommerce to the client’s live PayPal info and to set up PayPal to auto-confirm payment receipt. However, since the tickets are all virtual products and set to auto-confirm anyway, I don’t see why this would have affected my workflow – the “attached” users still have orders with the correct ticket/product in them, and the orders are completed.
So, given all this, can anyone suggest why the attendee list would have suddenly stopped populating from all orders?
Again, no plugins have been changed or updated since it was working properly a month and a half ago.
Thanks,
Joe-
This topic was modified 10 years, 6 months ago by
Joseph. Reason: clarification
October 29, 2015 at 10:05 am #1019880Nico
MemberHi Joe,
Thanks for reaching out to us on this! While we do not support customizations, I’ll try to help you here as I can.
First of all a quick test might help us narrow the issue a bit: if you change back the WooCommerce settings to what they were before configuring your client PayPal’s account, does the customization work? In that case we can narrow down the issue to the use of the PayPal checkout. Also was the test site on the same server? or was it a local install?
Please let me know about this. Knowing the issue is with PayPal will surely narrow down our efforts to solve this,
Best,
NicoOctober 29, 2015 at 6:48 pm #1020133Joseph
ParticipantHello!
Reverting to the old PayPal settings had no effect.
This was working properly prior to migration to the live server, but it was also working after launch so it’s unlikely that it’s the server or server settings.
Is it still the case that the attendee list should be populated dynamically based on completed orders within WooCommerce? Because, as I said, I never actually customized WooTickets – I automated the orders. When it was working, as soon as the orders were created and completed as the appropriate users, those users would appear in the attendee list of the event associated with the ticket/product in the purchase.
I can confirm that the orders are being processed properly – or at least, the correct ticket/product is being purchased and the orders are appearing in the WooCommerce order list with the correct customer assigned. Everything is working as before except the attendee list is not populating based on the completed orders.
Thanks for your help.
Joe
October 30, 2015 at 10:00 am #1020330Nico
MemberHey Joe,
Please send me the code and I’ll take a look, but please understand I cannot spend lot of time inspecting this customization, but hopefully I can help you making it work again.
Thanks,
NicoOctober 31, 2015 at 7:13 am #1020507Joseph
ParticipantHi Nick,
I’ll post the code in a private reply next. I just wanted to make it really clear that I’m not asking for help with my custom code; the code is working. It’s the Events Calendar WooTickets plugin that is (apparently) no longer tracking orders and populating the attendee lists with that information.
In my previous forum query, it was confirmed by support that the above was the behavior. Essentially that I could, even manually, complete a system order for a user, and so long as there was a completed order in WooCommerce with a ticket/product in the order, that user would appear as an attendee for the associated event.
Is this not the case?
Thanks for your help.
J
October 31, 2015 at 7:13 am #1020508Joseph
ParticipantThis reply is private.
-
This reply was modified 10 years, 6 months ago by
Joseph. Reason: pasted wrong code first time
November 3, 2015 at 7:01 am #1021240Nico
MemberHey J,
Thanks for sending over the code so I can test this on my end. I understand what you mean and I’ll try to help you figuring this out.
It’s the Events Calendar WooTickets plugin that is (apparently) no longer tracking orders and populating the attendee lists with that information.
If you comment out your code, Does this work as expected?
I’ll give a try later today and let you know about my findings.
Best,
NicoNovember 4, 2015 at 12:05 pm #1021829Nico
MemberJoe,
I gave your code a try but couldn’t make it work on my local install at all. I’m not sure I was testing this in the correct way, let me describe you what I did:
- Created a user named joe (username)
- Created an event with a free ticket
- Created a coupon named joe
- From the front-end of the site I bought 2 tickets for that event applying the joe coupon
- Went to the backend and completed the order
- The purchaser user was added to the attendees list as expected but no extra order where generated in the process, therefor no other users where added to the atendees list
Also checking up the code I don’t see where you are completing the extra orders you generate programatically.
Please let me know if I’m testing this correctly,
Best,
NicoNovember 4, 2015 at 12:09 pm #1021831Joseph
ParticipantHi Nick,
Sorry, I got caught up in some other work. I still need to try commenting out the code to test. Alternatively I may try adding the code to complete the automatic orders within the same function to see if this makes a difference.
In response to your latest comment, I use an additional plugin to automatically complete virtual orders, so I suppose there’s room for error there as well (even though the orders are being completed properly).
However, you mention you’re not seeing the automated orders being created – correct? This is strange. I am definitely seeing the automated orders being created (and completed) in my system using only the code above.
It may take me a little bit to get time to try this so I appreciate your patience and attentiveness.
J
-
This reply was modified 10 years, 6 months ago by
Joseph.
November 6, 2015 at 1:01 pm #1022675Geoff
MemberHi Joe, just wanted to chime in to let you know that Nico is still in midst of looking into this. thanks for the update and please do let us know how the continued testing goes as we keep digging in.
Geoff
November 6, 2015 at 1:06 pm #1022677Joseph
ParticipantThanks Geoff & Nico.
This was low on my client’s list of priorities and they wanted to launch the site, so we have launched as-is for now. They are also more interested in waiting for the new WooTickets with attendee meta data; if we’re going to be rolling out to that when it comes out, they don’t see a point in spending time refining a workaround.
However, I’d still be interested in troubleshooting this instance when I have time. I will need to dupe the site to a test server to make changes and I may not get to it until next week, but I will keep you informed.
J
November 9, 2015 at 7:07 am #1023204Nico
MemberHey Joe,
Thanks for the heads-up! Attendees meta will surely make integrations like this one a lot easier 🙂
I’ll be waiting for further info to help you out troubleshooting the code,
Best,
NicoFebruary 18, 2016 at 8:30 am #1075482Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
This topic was modified 10 years, 6 months ago by
-
AuthorPosts
- The topic ‘Attendee list no longer auto-populating from completed orders?’ is closed to new replies.
