{"id":2579,"date":"2026-01-24T08:34:56","date_gmt":"2026-01-24T08:34:56","guid":{"rendered":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/?p=2579"},"modified":"2026-01-31T07:30:28","modified_gmt":"2026-01-31T07:30:28","slug":"woocommerce-payment-gateway","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/kivicare-pro\/documentation\/payment-integration\/woocommerce-payment-gateway\/","title":{"rendered":"WooCommerce Payment Gateway"},"content":{"rendered":"<div class=\"nolwrap\">\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p>This document explains how to configure and use the <strong>WooCommerce Payment Gateway<\/strong> within the <strong>KiviCare Clinic Management System<\/strong>. This integration allows KiviCare to leverage WooCommerce\u2019s checkout and payment ecosystem for appointment payments.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Overview<\/strong><\/h2>\n\n\n\n<p>The WooCommerce integration enables clinics to accept payments for KiviCare appointments using any payment gateway supported by WooCommerce.<\/p>\n\n\n\n<p>When a patient books an appointment:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>KiviCare dynamically creates a <strong>temporary WooCommerce product<\/strong><\/li>\n\n\n\n<li>The product is added to the cart<\/li>\n\n\n\n<li>The patient is redirected to the <strong>WooCommerce checkout flow<\/strong> to complete payment<\/li>\n<\/ul>\n\n\n\n<p>This approach provides maximum flexibility by supporting all WooCommerce-compatible payment gateways.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<p>Before enabling WooCommerce payments in KiviCare, ensure the following requirements are met:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>WooCommerce Plugin<\/strong>\n<ul class=\"wp-block-list\">\n<li>WooCommerce must be installed and activated on your WordPress site.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>WooCommerce Payment Gateways<\/strong>\n<ul class=\"wp-block-list\">\n<li>At least one payment method must be configured and enabled in WooCommerce (e.g., Stripe, PayPal, Razorpay, BACS, Cash on Delivery).<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>WooCommerce Configuration in KiviCare<\/strong><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 1: Navigate to Payment Settings<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the <strong>WordPress Admin Dashboard<\/strong>.<\/li>\n\n\n\n<li>Go to <strong>KiviCare &gt; Settings &gt; Payment Settings<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 2: Enable WooCommerce Gateway<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Locate <strong>WooCommerce<\/strong> in the list of available payment gateways.<\/li>\n\n\n\n<li>Toggle the <strong>Enable<\/strong> switch (Green).<\/li>\n<\/ol>\n\n\n\n<p><strong>Note:<\/strong> There are no additional configuration fields inside KiviCare for WooCommerce. All payment-related settings are managed directly from WooCommerce.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How the WooCommerce Payment Flow Works<\/strong><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Appointment Booking<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A patient selects a service and proceeds to payment.<\/li>\n\n\n\n<li>KiviCare automatically creates a <strong>hidden Simple Product<\/strong> in WooCommerce:\n<ul class=\"wp-block-list\">\n<li>Product price = Appointment cost<\/li>\n\n\n\n<li>Product type = Virtual<\/li>\n\n\n\n<li>Catalog visibility = Hidden<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Applicable KiviCare taxes are added as <strong>Fees<\/strong> in the WooCommerce cart.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Checkout Process<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The patient is redirected to the <strong>WooCommerce Checkout page<\/strong>.<\/li>\n\n\n\n<li>The patient completes payment using any enabled WooCommerce payment method.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Order &amp; Appointment Status Mapping<\/strong><\/h2>\n\n\n\n<p>The appointment status in KiviCare is automatically updated based on the WooCommerce order status:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>WooCommerce Order Status<\/th><th>KiviCare Appointment Status<\/th><th>Status ID<\/th><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Completed<\/td><td>Booked<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Processing<\/td><td>Pending<\/td><td>2<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Failed \/ Cancelled<\/td><td>Cancelled<\/td><td>0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Important:<\/strong> Appointments are Booked <strong>only<\/strong> when the WooCommerce order status becomes <strong>Completed<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Auto-Cancellation Mechanism<\/strong><\/h2>\n\n\n\n<p>To avoid appointment slot blocking due to unpaid bookings, KiviCare includes an automatic cancellation feature:<\/p>\n\n\n\n<p>If a patient is redirected to WooCommerce checkout but does <strong>not complete payment<\/strong>, the appointment is automatically cancelled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Troubleshooting<\/strong><\/h2>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Common Issues and Solutions<\/strong><\/h5>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>WooCommerce Not Active Error<\/strong><\/h6>\n\n\n\n<p>Ensure the WooCommerce plugin is installed and activated.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>Redirect Loop or 404 on Checkout<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Verify WooCommerce pages:\n<ul class=\"wp-block-list\">\n<li>Go to <strong>WooCommerce &gt; Status &gt; Tools<\/strong><\/li>\n\n\n\n<li>Click <strong>Create default WooCommerce pages<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Confirm that a valid <strong>Checkout page<\/strong> is assigned.<\/li>\n<\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>Appointment Not Confirmed<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check the WooCommerce order status.<\/li>\n\n\n\n<li>Appointments are confirmed only when the order status is <strong>Completed<\/strong>.<\/li>\n\n\n\n<li>Some gateways keep orders in <strong>Processing<\/strong> status:\n<ul class=\"wp-block-list\">\n<li>Manually complete the order, or<\/li>\n\n\n\n<li>Use a plugin to auto-complete virtual orders.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Best Practices<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <strong>Virtual + Auto-Complete Order<\/strong> settings for smoother confirmation.<\/li>\n\n\n\n<li>Test the full booking flow after enabling a new WooCommerce payment gateway.<\/li>\n\n\n\n<li>Regularly monitor WooCommerce orders linked to appointments.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This document explains how to configure and use the WooCommerce Payment Gateway within the KiviCare Clinic Management System. This integration allows KiviCare to leverage WooCommerce\u2019s checkout and payment ecosystem for appointment payments. Overview The WooCommerce integration enables clinics to accept payments for KiviCare appointments using any payment gateway supported by WooCommerce. When a patient books [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-2579","post","type-post","status-publish","format-standard","hentry","category-payment-integration-kivicare-pro"],"featured_image_src":null,"author_info":{"display_name":"wordpressadminiq","author_link":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/author\/wordpressadminiq\/"},"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/posts\/2579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/comments?post=2579"}],"version-history":[{"count":9,"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/posts\/2579\/revisions"}],"predecessor-version":[{"id":2844,"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/posts\/2579\/revisions\/2844"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/media?parent=2579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/categories?post=2579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivicare-wordpress\/wp-json\/wp\/v2\/tags?post=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}