Skip to documentation content

Pricing, Payments & Tax

Configure WooCommerce payments

Use WooCommerce Checkout as the Pro payment bridge and verify currency, decimal precision, gateway selection and return status.

The Pro WooCommerce Checkout method sends a Hotel Booking order to WooCommerce. WooCommerce owns the selected gateway and checkout UI; Hotel Booking remains authoritative for the room quote, tax snapshot and linked payment ledger.

Preflight

  1. Confirm WooCommerce is active and the Checkout page is published with a public permalink.
  2. Match the Hotel Booking currency to WooCommerce currency.
  3. Confirm WooCommerce Number of decimals preserves the booking’s minor units; do not use a rounding workaround.
  4. Enable and configure the desired gateway in WooCommerce, using its sandbox mode for rehearsal.
  5. Open Hotel Booking → Settings → Payments, enable WooCommerce Checkout and save.

Verify

Use a dedicated test customer and future dates. Submit Book Now once and confirm the redirect to WooCommerce Checkout. Complete the sandbox payment, return to the site and verify the booking confirmation, amount, currency and payment status. The linked order must match exactly; a mismatch is a configuration fault and must fail closed.

If the order is pending, inspect WooCommerce order notes and the Hotel Booking payment timeline before retrying. Do not change decimal precision mid-order or create a replacement booking. A settings correction applies to a new attempt; existing snapshots remain unchanged.

Treat gateway credentials and customer data as private. Escalate with the booking code, WooCommerce order ID, currency, decimal setting and redacted status only. For a direct gateway flow, see Stripe or PayPal.

Was this article helpful?

Your feedback helps us improve the documentation.