{"id":5001,"date":"2023-12-15T00:12:28","date_gmt":"2023-12-14T13:12:28","guid":{"rendered":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/?p=5001"},"modified":"2024-07-05T08:51:07","modified_gmt":"2024-07-04T22:51:07","slug":"simple-shopping-cart-using-the-debug-logging-feature-to-troubleshoot","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/simple-shopping-cart-using-the-debug-logging-feature-to-troubleshoot-5001","title":{"rendered":"Simple Shopping Cart &#8211; Using the Debug Logging Feature to Troubleshoot"},"content":{"rendered":"\n<p>If you have ran into an issue while using the <a href=\"https:\/\/wordpress.org\/plugins\/wordpress-simple-paypal-shopping-cart\/\" target=\"_blank\" rel=\"noopener\" title=\"\"><strong>Simple Shopping Cart<\/strong><\/a> plugin&nbsp;on your WordPress website, perhaps your customers are not receiving their sales notification after a successful purchase, the debug log is a great troubleshooting resource.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-a-debug-log-and-what-does-it-do\">What is Debug Logging?<\/h2>\n\n\n<p>The debug logging feature logs steps of the payment process and those steps that were not able to be completed are marked as a \u2018Failure\u2019. This gives admin an insight into which step of the payment process needs attention in order to work correctly.<\/p>\n\n\n\n<p>Generally, a failure in the payment process is caused by an incomplete or incorrect set up of the plugin. Please browse through the&nbsp;<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-shopping-cart\" target=\"_blank\" rel=\"noopener\" title=\"\">documentation page<\/a>&nbsp;to ensure you have completed all setup required for the Simple Shopping Cart Plugin.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"how-can-i-enable-the-debug-log\">How Can I Enable the Debug Logging Feature?<\/h2>\n\n\n<p>By default, the debug log is<strong>&nbsp;not enabled<\/strong>. If you are testing the Simple Shopping Cart plugin&#8217;s transaction  process, it is a good idea to enable the debug log first. This way, if you find that there is a problem with a step in the payment process or the email is not being sent to either the merchant or the customer, you can diagnose the issue quickly and easily.<\/p>\n\n\n\n<p>To enable the debug log for the Simple Shopping Cart plugin complete the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the <strong>Settings<\/strong> menu of the Simple Shopping Cart plugin.<\/li>\n\n\n\n<li>Towards the bottom of the <strong>General Settings<\/strong> tab, you will see a section titled &#8216;Testing and Debug Settings&#8217;.<\/li>\n\n\n\n<li>Check the <strong>Enable Debug<\/strong> option to enable the debug logging feature.<\/li>\n\n\n\n<li>Click the <strong>Save Changes<\/strong> button.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/simple-cart-debug-logging-feature-sc-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"357\" src=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/simple-cart-debug-logging-feature-sc-1.png\" alt=\"\" class=\"wp-image-5002\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/simple-cart-debug-logging-feature-sc-1.png 550w, https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/simple-cart-debug-logging-feature-sc-1-300x195.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"viewing-the-debug-log-to-solve-an-issue\">Viewing the Debug Log File to Solve an Issue<\/h2>\n\n\n<p>Once you have enabled the debug logging feature and completed a test or live transaction on your website using the Simple Cart plugin, you can click on the <strong>View Debug Log File<\/strong> to see the details and potentially find a step of the process that is failing.<\/p>\n\n\n\n<p>The following screenshot shows an example of the debug logging output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/example-debug-logging-output-sc-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"439\" src=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/example-debug-logging-output-sc-1.png\" alt=\"\" class=\"wp-image-5004\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/example-debug-logging-output-sc-1.png 550w, https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2023\/12\/example-debug-logging-output-sc-1-300x239.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>After you have completed troubleshooting you may like to disable the debug logging feature and clear the log file.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"other-useful-resources\">Other Useful Resources<\/h2>\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/payment-testing-checklist-for-simple-shopping-cart-plugin\" title=\"\">Payment Testing Checklist<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/how-to-setup-paypal-ipn-notification-2796\" title=\"\">Enabling PayPal IPN Feature for Standard PayPal Checkout<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you have ran into an issue while using the Simple Shopping Cart plugin&nbsp;on your WordPress website, perhaps your customers are not receiving their sales notification after a successful purchase, the debug log is a great troubleshooting resource. What is Debug Logging? The debug logging feature logs steps of the payment process and those steps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-5001","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-uncategorized","7":"entry"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/5001"}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/comments?post=5001"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/5001\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/media?parent=5001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/categories?post=5001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/tags?post=5001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}