{"id":1251377,"date":"2017-03-08T15:01:12","date_gmt":"2017-03-08T23:01:12","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/"},"modified":"2017-03-08T15:01:12","modified_gmt":"2017-03-08T23:01:12","slug":"woocommerce-refunds","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/","title":{"rendered":"WooCommerce Refunds"},"content":{"rendered":"<p>How exactly are Event Ticket refunds in WooCommerce recommended to be processed?  It appears that when we refund a ticket sale via WooCommerce, it doesn&#8217;t remove the total sold when you are looking at an event.  It still counts that sale in the sold total on the Event list, the Event Ticket details and if you do a query like Tribe__Tickets__Tickets::get_all_event_tickets( $post-&gt;ID).  The qty_sold includes those that are refunded.<\/p>\n<p>Further more, if I go into the attendee list and delete that refunded one, that qty_sold doesn&#8217;t update (as well as any of the other places you see the number sold in the admin).<\/p>\n<p>This is pretty problematic as we are trying to keep track of number of tickets that were sold compared to remaining inventory to ensure we haven&#8217;t over sold.  As far as I can tell, there isn&#8217;t a way to do this, as the Tribe__Tickets__Tickets::get_all_event_tickets( $post-&gt;ID) doesn&#8217;t include any data related to the number of tickets refunded or deleted, even though when I view the attendee list, it does show the Deleted Attendees number.   <\/p>\n<p>Maybe we aren&#8217;t processing things properly?  When we want to cancel an order, we go to the WooCommerce order and refund the quantity, so that it is moved back into inventory (which works).  But, the quantity sold isn&#8217;t correct.  Is there a function we can add that would reduce that value when a WooCommerce refund occurs?  Where is that value stored &#8211; if I know that, I can possibly write my own function too.<\/p>\n<p>NOW &#8211; I know &#8211; you are going to say &#8220;disable all other plugins and themes, yada yada&#8230;&#8221;.  That I can&#8217;t do on our production site.  I have also found others questioning this, so I am fairly certain these issues aren&#8217;t related to any other plugins or theme elements.  I understand your need for this, but I feel like this is more of a core relationship between WooCommerce and your tracking of the quantity sold.<\/p>\n","protected":false},"template":"","class_list":["post-1251377","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WooCommerce Refunds -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WooCommerce Refunds -\" \/>\n<meta property=\"og:description\" content=\"How exactly are Event Ticket refunds in WooCommerce recommended to be processed? It appears that when we refund a ticket sale via WooCommerce, it doesn&#8217;t remove the total sold when you are looking at an event. It still counts that sale in the sold total on the Event list, the Event Ticket details and if [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/\",\"name\":\"WooCommerce Refunds -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-03-08T23:01:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"WooCommerce Refunds\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WooCommerce Refunds -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/","og_locale":"en_US","og_type":"article","og_title":"WooCommerce Refunds -","og_description":"How exactly are Event Ticket refunds in WooCommerce recommended to be processed? It appears that when we refund a ticket sale via WooCommerce, it doesn&#8217;t remove the total sold when you are looking at an event. It still counts that sale in the sold total on the Event list, the Event Ticket details and if [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/","name":"WooCommerce Refunds -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-03-08T23:01:12+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/woocommerce-refunds\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"WooCommerce Refunds"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1251377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1251377\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1251377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}