WooCommerce Payment Setup

The SpaCLub WordPress Theme integrates seamlessly with WooCommerce to handle online payments for appointment bookings. WooCommerce manages all payment gateways, while SpaClub connects appointments to WooCommerce using a special product.

This section explains how to install WooCommerce, create a required product, link it with SpaClub, and configure payment gateways.

1. Install WooCommerce

  1. Log in to your WordPress Admin Dashboard.
  2. Go to Plugins > Add New.
  3. Search for WooCommerce.
  4. Click Install and then Activate.

Once activated, WooCommerce will guide you through its basic setup wizard. You can complete it or skip it and configure settings manually.

2. Create a Random WooCommerce Product

SpaClub requires a WooCommerce product to process appointment payments. This product is used internally and will not be shown to customers as a regular shop item.

  1. Go to Products > Add New.
  2. Enter any random product title (for example: Appointment Booking).
  3. In the Product Data section, select Simple product.
  4. Set a random regular price (for example: 10 or 15).
  5. Optionally set a sale price.
  6. Click Publish.

This product will act as a payment placeholder for appointment bookings.

Booking Summary

3. Assign WooCommerce Product in SpaClub

After creating the product, you must assign it inside SpaClub Appointment Settings.

  1. Go to SpaClub > Appointment > Appointment Settings.
  2. Open the WooCommerce Payment Gateway tab.
  3. Locate the WooCommerce Product ID dropdown.
  4. Select the product you created earlier.
  5. Click Save Changes.

This step links SpaClub appointments with WooCommerce checkout.

Booking Summary

4. Configure WooCommerce Payment Gateways

WooCommerce supports multiple payment methods such as bank transfer, cash on delivery, Stripe, PayPal, Razorpay, and more.

  1. Go to WooCommerce > Settings.
  2. Open the Payments tab.
  3. You will see a list of available payment methods.
  4. Enable the payment gateways you want to use.
  5. Click Set up or Finish setup to configure each gateway.
  6. Save your changes.

You can enable one or multiple payment gateways depending on your business needs.

Booking Summary

5. Online vs Offline Payment

SpaClub allows admins to choose between Online Payment and Offline Payment from Appointment Settings.

  • Online Payment – Uses WooCommerce payment gateways during booking.
  • Offline Payment – Allows customers to book without immediate payment.

When Online Payment is enabled, customers are redirected to the WooCommerce checkout after completing the appointment form.

Booking Summary

6. Payment Flow Overview

  1. User books an appointment using the booking form.
  2. SpaClub calculates the total amount.
  3. The linked WooCommerce product is added to the cart.
  4. User completes payment using the selected gateway.
  5. After successful payment, the appointment is confirmed.

Redirect behavior after payment can be controlled from Appointment Settings.

Tip: Use a simple product with a neutral name and price, as the final payable amount is dynamically calculated by SpaClub during booking.