{"id":1095,"date":"2025-05-06T22:46:23","date_gmt":"2025-05-06T20:46:23","guid":{"rendered":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/?post_type=lsvr_kba&#038;p=1095"},"modified":"2025-05-15T14:35:23","modified_gmt":"2025-05-15T12:35:23","slug":"woocommerce-integration","status":"publish","type":"lsvr_kba","link":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/knowledge-base\/woocommerce-integration\/","title":{"rendered":"WooCommerce Integration"},"content":{"rendered":"<p>Plugin Chauffeur Taxi Booking System offers integration with WooCommerce, allowing you to use WooCommerce\u2019s payment gateways during the booking process. Using WooCommerce is entirely optional \u2013 the plugin includes its own built-in payment methods and does not require WooCommerce to function.<\/p>\n<div class=\"important\">\n<p><strong>Important!<\/strong><\/p>\n<p>Enabling WooCommerce integration will disable the built-in payment methods: Cash, Stripe, PayPal, Wire transfer, and Credit card on pickup. Their configuration within the plugin will be ignored.<\/p>\n<\/div>\n<h2>How to Enable WooCommerce Integration<\/h2>\n<ol>\n<li>Navigate to <mark>&#8216;Booking Forms&#8217;<\/mark> menu, <mark>&#8216;General&#8217;<\/mark> -&gt; <mark>&#8216;WooCommerce&#8217;<\/mark> tab.<\/li>\n<li>Enable the <mark>&#8216;WooCommerce Support&#8217;<\/mark> option.<\/li>\n<li>Make sure the <mark>&#8216;Payment Processing&#8217;<\/mark> option is enabled. You\u2019ll find it under <mark>&#8216;Booking Forms&#8217;<\/mark> menu, <mark>&#8216;Payments&#8217;<\/mark> -&gt; <mark>&#8216;General&#8217;<\/mark> tab.<\/li>\n<\/ol>\n<h2>WooCommerce Configuration<\/h2>\n<ol>\n<li>Go to <mark>&#8216;WooCommerce&#8217;<\/mark> -&gt; <mark>&#8216;Settings&#8217;<\/mark> -&gt; <mark>&#8216;Advanced&#8217;<\/mark>.<\/li>\n<li>Make sure to set the following pages correctly:\n<ul>\n<li><strong>Cart page<\/strong> \u2013 set to the page with <code>[woocommerce_cart]<\/code> shortcode.<\/li>\n<li><strong>Checkout page<\/strong> \u2013 set to the page with <code>[woocommerce_checkout]<\/code> shortcode.<\/li>\n<li><strong>My Account page<\/strong> \u2013 set to the page with <code>[woocommerce_my_account]<\/code> shortcode.<\/li>\n<li><strong>Terms and conditions<\/strong> (optional) \u2013 select the page with your store&#8217;s policies.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>These settings ensure proper redirection from the booking form to WooCommerce&#8217;s checkout process and avoid potential errors during payment.<\/p>\n<\/div>\n<h2>Configuring Payment Methods<\/h2>\n<p>Once WooCommerce support is enabled, go to <mark>&#8216;WooCommerce&#8217;<\/mark> -&gt; <mark>&#8216;Settings&#8217;<\/mark> -&gt; <mark>&#8216;Payments&#8217;<\/mark> tab and enable the desired payment gateways (e.g. Stripe, PayPal, bank transfer, etc.). These methods will replace the plugin&#8217;s native options.<\/p>\n<h2>Booking Process with WooCommerce Enabled<\/h2>\n<p>After completing step #4 of the booking form and clicking the <strong>Book Now<\/strong> button, the customer will be redirected to a <strong>Thank You<\/strong> page confirming the booking in the plugin. From there, a button leads directly to the WooCommerce checkout page.<\/p>\n<div class=\"example\">\n<p><strong>Example<\/strong><\/p>\n<p>Booking form steps: Step #4 (order summary) \u2192 Thank You page (confirmation) \u2192 WooCommerce Checkout \u2192 Order complete.<\/p>\n<\/div>\n<h2>Optional Configurations<\/h2>\n<h3>Bypassing the Thank You Page<\/h3>\n<p>Go to <mark>&#8216;Booking Forms&#8217;<\/mark> menu, <mark>&#8216;General&#8217;<\/mark> -&gt; <mark>&#8216;Look &amp; Feel&#8217;<\/mark> -&gt; <mark>&#8216;Step #5&#8217;<\/mark> tab and locate the option <mark>&#8216;Thank You Page&#8217;<\/mark>. You can enable or disable this intermediate page.<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>Disabling this option will redirect the customer directly to the WooCommerce checkout after clicking <strong>Book Now<\/strong>, skipping the confirmation step and speeding up the booking flow.<\/p>\n<\/div>\n<h3>Disabling Payment Method Selection on Step #3<\/h3>\n<p>Go to <mark>&#8216;Booking Forms&#8217;<\/mark> menu, <mark>&#8216;Payments&#8217;<\/mark> -&gt; <mark>&#8216;General&#8217;<\/mark> tab and adjust the <mark>&#8216;WooCommerce Payments on Step #3&#8217;<\/mark> option. If enabled, WooCommerce payment methods appear in step #3 of the booking form. If disabled, customers choose their payment method directly on the WooCommerce checkout page.<\/p>\n<h3>Merging Order Items by Tax Rate<\/h3>\n<p>Navigate to <mark>&#8216;Settings&#8217;<\/mark> -&gt; <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;General&#8217;<\/mark> -&gt; <mark>&#8216;WooCommerce&#8217;<\/mark> and locate the <mark>&#8216;WooCommerce Order Items&#8217;<\/mark> option. This setting allows you to enable or disable merging booking items with the same tax rate into grouped order lines within WooCommerce.<\/p>\n<h3>Using Native WooCommerce Templates<\/h3>\n<p>In the same section \u2013 <mark>&#8216;Settings&#8217;<\/mark> -&gt; <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;General&#8217;<\/mark> -&gt; <mark>&#8216;WooCommerce&#8217;<\/mark> \u2013 you&#8217;ll find the <mark>&#8216;WooCommerce Templates&#8217;<\/mark> option.<\/p>\n<ul>\n<li><strong>Enabled (default)<\/strong> \u2013 the plugin uses its own WooCommerce templates (e.g. for the checkout page).<\/li>\n<li><strong>Disabled<\/strong> \u2013 the plugin uses the default WooCommerce templates.<\/li>\n<\/ul>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>If you want to offer modern checkout solutions such as Google Pay or Apple Pay, disable this option to ensure compatibility with those payment systems. Keep in mind that these payment methods may not be supported in all browsers \u2013 for example, Google Pay and Apple Pay may not work correctly in Firefox.<\/p>\n<\/div>\n<h3>Booking Statuses Synchronization<\/h3>\n<p>Go to <mark>&#8216;Settings&#8217;<\/mark> -&gt; <mark>&#8216;Chauffeur Booking System&#8217;<\/mark> -&gt; <mark>&#8216;Payments&#8217;<\/mark> and locate the <mark>&#8216;Booking Statuses Synchronization&#8217;<\/mark> option. You can choose one of three modes:<\/p>\n<ul>\n<li><strong>No synchronization<\/strong> \u2013 default mode. Changes to booking statuses in either system are not reflected in the other.<\/li>\n<li><strong>One way: from WooCommerce to plugin<\/strong> \u2013 changes in the WooCommerce order status will be automatically reflected in the booking status within the plugin.<\/li>\n<li><strong>One way: from plugin to WooCommerce<\/strong> \u2013 changes in the plugin\u2019s booking status will also update the corresponding WooCommerce order status.<\/li>\n<\/ul>\n<p>By default, when a booking is made, it appears in both systems:<\/p>\n<ul>\n<li>In the plugin&#8217;s <mark>&#8216;Bookings&#8217;<\/mark> list with status <strong>Pending<\/strong>.<\/li>\n<li>In WooCommerce orders with a similar default unpaid status.<\/li>\n<\/ul>\n<p>When the customer completes the payment through a WooCommerce gateway, the order status is updated to a paid status <em>in WooCommerce only<\/em>. The plugin\u2019s booking status remains unchanged unless synchronization is enabled.<\/p>\n<h4>Synchronization from WooCommerce to Plugin<\/h4>\n<p>Enabling this mode ensures that when a WooCommerce order is paid and its status changes (e.g. to <strong>Processing<\/strong> or <strong>Completed<\/strong>), the corresponding booking in the plugin will also update (e.g. to <strong>Confirmed<\/strong>).<\/p>\n<div class=\"tip\">\n<p><strong>Good to Know<\/strong><\/p>\n<p>This option is especially useful if you use email notifications in the plugin. When the status is updated from WooCommerce to the plugin, it can automatically trigger an email to the customer confirming the payment and booking status change.<\/p>\n<\/div>\n<h4>Synchronization from Plugin to WooCommerce<\/h4>\n<p>This mode allows manual changes made to a booking\u2019s status in the plugin (e.g. from <strong>Pending<\/strong> to <strong>Confirmed<\/strong>) to also update the WooCommerce order status. This is useful in niche scenarios where WooCommerce is used for payment only, but booking management is handled from the plugin&#8217;s interface.<\/p>\n<div class=\"important\">\n<p><strong>Important!<\/strong><\/p>\n<p>The plugin allows you to define the default booking status for new orders via <mark>&#8216;Booking Forms&#8217;<\/mark> menu, <mark>&#8216;General&#8217;<\/mark> -&gt; <mark>&#8216;Main&#8217;<\/mark> tab, <mark>&#8216;Default Booking Status&#8217;<\/mark> option. When using WooCommerce, it&#8217;s recommended to leave this option set to <strong>Pending<\/strong>. Changing it (e.g. to <strong>Confirmed<\/strong>) may prevent successful payment processing via WooCommerce gateways.<\/p>\n<\/div>\n<div class=\"doc-version\">\n<p><strong>Summary<\/strong><\/p>\n<p>Document version: 1.0<br \/>\nLast updated: May 6, 2025<br \/>\nPlugin version: 6.8+<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Plugin Chauffeur Taxi Booking System offers integration with WooCommerce, allowing you to use WooCommerce\u2019s payment gateways during the booking process. Using WooCommerce is entirely optional \u2013 the plugin includes its own built-in payment methods and does not require WooCommerce to function. Important! Enabling WooCommerce integration will disable the built-in payment methods: Cash, Stripe, PayPal, Wire [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[10],"lsvr_kba_tag":[],"_links":{"self":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/1095"}],"collection":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/comments?post=1095"}],"version-history":[{"count":12,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/1095\/revisions"}],"predecessor-version":[{"id":1111,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba\/1095\/revisions\/1111"}],"wp:attachment":[{"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/media?parent=1095"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_cat?post=1095"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/quanticalabs.com\/docs\/chauffeur-booking-system\/wp-json\/wp\/v2\/lsvr_kba_tag?post=1095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}