Attendee list no longer auto-populating from completed orders?

Home Forums Calendar Products Community Events Attendee list no longer auto-populating from completed orders?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1019574
    Joseph
    Participant

    Hi 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
    #1019880
    Nico
    Member

    Hi 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,
    Nico

    #1020133
    Joseph
    Participant

    Hello!

    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

    #1020330
    Nico
    Member

    Hey 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,
    Nico

    #1020507
    Joseph
    Participant

    Hi 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

    #1020508
    Joseph
    Participant

    This reply is private.

    • This reply was modified 10 years, 6 months ago by Joseph. Reason: pasted wrong code first time
    #1021240
    Nico
    Member

    Hey 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,
    Nico

    #1021829
    Nico
    Member

    Joe,

    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,
    Nico

    #1021831
    Joseph
    Participant

    Hi 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.
    #1022675
    Geoff
    Member

    Hi 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

    #1022677
    Joseph
    Participant

    Thanks 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

    #1023204
    Nico
    Member

    Hey 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,
    Nico

    #1075482
    Support Droid
    Keymaster

    This 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.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Attendee list no longer auto-populating from completed orders?’ is closed to new replies.