"Completed" total doesn't account for refunds

Home Forums Ticket Products Event Tickets Plus "Completed" total doesn't account for refunds

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1359836
    Michael
    Participant

    Hi! Hope this is in the correct forum.
    Maybe this is the intended behavior, but the total shown for “Completed” orders on an event’s “Orders” page (domain.com/wp-admin/edit.php?post_type=tribe_events&page=tickets-orders&event_id=XXXXX) doesn’t appear to be accounting for refunds. This is happening on multiple events for us where the “Completed” total on this page doesn’t actually line up with the amount of money taken in less all refunds. To be clear, when I say “refunds” I mean my client goes in and refunds a customer $100 off of their order – not refunding the entire order.

    The template is outputting the value of $tickets_breakdown['wc-completed']['_line_total'] in /src/admin-views/woocommerce-orders.php And that $tickets_breakdown is setup in /src/Tribe/Commerce/WooCommerce/Orders/Report.php by a query located in the get_total_sales_per_productby_status() function within that same file.

    Please let me know if this is intended behavior or if it sounds like there’s something amiss on our site.

    Thank you!

    #1360638
    Victor
    Keymaster

    Hi Michael!

    Thanks for taking your time to report this and for the detailed explanation.

    After making a few tests on my own local installation, I found out that the only orders with order status “Refunded” will be taken into account for when accounting for the completed total.

    It seems that only full refunded orders will auto change its status to “Refunded”, while partial refunds won’t change its status, thus not reducing this refund from the Completed amount in the event orders.

    Can you confirm this is the same problem you are experiencing?

    I think this behaviour might cause some confusion, so I will reach out to the team to have a second opinion and will get back to you.

    Feel free to also give us your feedback on this matter.

    Thanks,
    Victor

    #1361091
    Michael
    Participant

    Hi Victor –
    Yes, I believe that describes what I’m seeing. I have another event where just partial refunds doesn’t account for the discrepancy that I’m seeing, but there are a couple orders for that event that have something strange going on. So I’m not convinced that that issue is related to Events Tickets Plus.

    I appreciate you taking my feedback to the dev team.

    Thanks!

    #1361461
    Victor
    Keymaster

    Hi Michael!

    Thanks for following up with this and for confirming the problem.

    I have reached out to the team about this, but we haven’t got time to look deeper into the code yet to see if there is anything we can do on our side to prevent this situation, or at least provide more information in our knowledgebase articles to take this problem into account.

    We’ll keep you posted about it.

    We appreciate your feedback on this.

    Best,
    Victor

    #1372962
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘"Completed" total doesn't account for refunds’ is closed to new replies.