{"id":1896657,"date":"2019-10-18T13:19:47","date_gmt":"2019-10-18T17:19:47","guid":{"rendered":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/event-tickets-plus-ticket-stock-troubleshooting\/"},"modified":"2022-03-30T04:12:26","modified_gmt":"2022-03-30T08:12:26","slug":"event-tickets-plus-ticket-stock-troubleshooting","status":"publish","type":"post","link":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/event-tickets-plus-ticket-stock-troubleshooting\/","title":{"rendered":"Common Ticket Stock Issues"},"content":{"rendered":"\n<p>The most used eCommerce platform for our <a href=\"http:\/\/m.tri.be\/19ix\" target=\"_blank\" rel=\"noreferrer noopener\">Event Tickets Plus<\/a> plugin is WooCommerce, and one of the most used gateways is PayPal. This is a great combination if you would like to sell tickets for your events. However, the plugins are produced by three different parties, which can sometimes lead to different glitches.<\/p>\n\n\n\n<p>A support question we receive often is that \u201cthe ticket stock doesn\u2019t change when I sell a ticket.\u201d And in most cases, the users have the outlined setup: Event Tickets Plus, WooCommerce, and PayPal.<\/p>\n\n\n\n<p>Since the ticket sale goes bad the first reaction usually is that there is an issue with our plugins. It very well might be, but before we can state that we have to eliminate the possibility of the other plugins being faulty. To do this here is the recommended process for getting close to the source of the issue and to help speed up the support process:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"backup\">Step 0 &#8211; Create a backup<\/h3>\n\n\n\n<p>Before doing any major changes to your website (updates and testing included), it is always recommended to create a full backup of your files and your database. If something goes wrong you can always go back to your backup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"conflicts\">Step 1 \u2013 Conflict testing<\/h3>\n\n\n\n<p>We need to make sure that other plugins, theme, or some custom code don\u2019t interfere with the functionality of our plugins. So the first step is going through our <a href=\"https:\/\/dev.theeventscalendar.com\/knowledgebase\/k\/testing-for-conflicts\/#look-for-solution\" target=\"_blank\" rel=\"noreferrer noopener\">conflict testing guide<\/a>.<\/p>\n\n\n\n<p>In brief: deactivate all plugins except for The Events Calendar ones and WooCommerce in this case. If you use a separate plugin for the PayPal gateway then leave that one active as well (using a PayPal sandbox account is recommended), and switch to a default theme like <a href=\"https:\/\/wordpress.org\/themes\/twentyseventeen\/\" target=\"_blank\" rel=\"noopener noreferrer\">Twenty Twenty<\/a>. Then check if the issue with the stock not decreasing still exists.<\/p>\n\n\n\n<p>The issue is gone? One of the plugins, themes, or custom code you are using is causing the trouble. To find the source of the issue, follow our conflict testing guide.<\/p>\n\n\n\n<p>The issue is still there? Go to the next step.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"gateway\">Step 2 \u2013 Use a different gateway<\/h3>\n\n\n\n<p>Activate the \u2018Cash on Delivery\u2019 (CoD) payment gateway in WooCommerce.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2017\/10\/ticket-stock-woo-cod-665x362.jpg\" alt=\"WooCommerce CoD settings\"\/><\/figure>\n\n\n\n<p>Now do a test purchase of a ticket for an event and use CoD for payment.<\/p>\n\n\n\n<p>Once the purchase is done go to the back-end and check whether the stock of the ticket has properly decreased.<\/p>\n\n\n\n<p>If the stock adjustment was right, then our plugins seem to be working right.<\/p>\n\n\n\n<p>If the stock didn\u2019t decrease, then there is some issue with either WooCommerce or Event Tickets Plus.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; Check your PayPal configuration<\/h3>\n\n\n\n<p>See our guide to <a href=\"https:\/\/dev.theeventscalendar.com\/knowledgebase\/k\/configuring-tribe-commerce-with-paypal\/#Troubleshooting_PayPal_Issues\" target=\"_blank\" rel=\"noreferrer noopener\">troubleshooting PayPal issues<\/a>. Check your <strong>Auto return<\/strong> and <strong>Payment Data Transfer<\/strong> settings. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"purchase\">Step 4 \u2013 Make a test purchase with a regular WooCommerce product<\/h3>\n\n\n\n<p>Set up a new WooCommerce product, one that has nothing to do with tickets. On the Inventory tab \u2018Enable stock management at product level\u2019 and set a stock.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2017\/10\/ticket-stock-woo-inventory-665x243.jpg\" alt=\"screenshot of WooCommerce product inventory settings\"\/><\/figure>\n\n\n\n<p>Make a test purchase of the product with CoD and check if the stock was adjusted accordingly. If yes, hurray. If not, then there is an issue with the stock handling of WooCommerce.<\/p>\n\n\n\n<p>At last, make a test purchase of the product with PayPal. If the stock adjusts for this product but didn\u2019t adjust for the ticket, then WooCommerce and PayPal are working well, and there might be an issue with our plugin.<\/p>\n\n\n\n<p>If the stock does not change, then there is an issue with the interaction between WooCommerce and PayPal, and not our plugin. In this case, it is recommended to make your voice heard in the WooCommerce support forums, they will be the ones who can help you out.<\/p>\n\n\n\n<p>If you performed the above tests and they indicate that our plugin is faulty, namely:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Stock decreases for WooCommerce product with PayPal \/ CoD<\/li><\/ul>\n\n\n\n<p>AND<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Stock doesn\u2019t decrease for a ticket product with the same gateway<\/li><\/ul>\n\n\n\n<p>Still having issues? Then <a href=\"https:\/\/support.theeventscalendar.com\/submit_ticket\" target=\"_blank\" rel=\"noreferrer noopener\">get in touch with<\/a> us and our friendly support team will be happy to help you out!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The most used eCommerce platform for our Event Tickets Plus plugin is WooCommerce, and one of the most used gateways is PayPal. This is a great combination if you would like to sell tickets for your events. However, the plugins are produced by three different parties, which can sometimes lead to different glitches. A support&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[93],"tags":[26,106],"stellar-product-taxonomy":[156],"class_list":["post-1896657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors","tag-ecommerce","tag-woocommerce","stellar-product-taxonomy-event-tickets-plus"],"acf":[],"taxonomy_info":{"category":[{"value":93,"label":"Troubleshooting"}],"post_tag":[{"value":26,"label":"Ecommerce"},{"value":106,"label":"WooCommerce"}],"stellar-product-taxonomy":[{"value":156,"label":"Event Tickets Plus"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":93,"name":"Troubleshooting","slug":"errors","term_group":0,"term_taxonomy_id":93,"taxonomy":"category","description":"","parent":0,"count":67,"filter":"raw","term_order":"0","cat_ID":93,"category_count":67,"category_description":"","cat_name":"Troubleshooting","category_nicename":"errors","category_parent":0}],"tag_info":[{"term_id":26,"name":"Ecommerce","slug":"ecommerce","term_group":0,"term_taxonomy_id":26,"taxonomy":"post_tag","description":"","parent":0,"count":18,"filter":"raw","term_order":"0"},{"term_id":106,"name":"WooCommerce","slug":"woocommerce","term_group":0,"term_taxonomy_id":106,"taxonomy":"post_tag","description":"","parent":26,"count":40,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1896657"}],"version-history":[{"count":1,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896657\/revisions"}],"predecessor-version":[{"id":1956164,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896657\/revisions\/1956164"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1896657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1896657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1896657"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1896657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}