Handle Payments with a Custom Checkout

This article describes how to implement a custom checkout flow instead of using Wix eCommerce.

After creating a booking (step 7 in the single-service booking flow), the standard flow uses Wix eCommerce for checkout (steps 8-11). With a custom checkout, you handle payment collection and booking confirmation yourself:

  1. Implement your custom checkout and display the checkout page to the customer.
  2. Once the customer completes payment, call Confirm Or Decline Booking with options.paymentStatus set to PAID. This updates the booking status to CONFIRMED.
  3. Call Create Order to record the transaction, specifying the custom payment details.
Did this help?