Holiday Notice:

Please note that our team will be on holiday from 31st March to 2nd April 2025. During this period, there may be slight delays in our response time. We appreciate your patience and understanding.

Thank you for your continued support!

Okay
  Print

Why some WooCommerce payment gateway doesn't complete the booking or hiring process

We have used WooCommerce for the packages and booking process and have used the below hooks

  • Hook: woocommerce_payment_complete
  • Function: $order->payment_complete()

Any gateways that default status goes to On Hold or Pending Payment instead of Processing will not process the order against packages update or booking.

As this is not a delivery order which needs to be processing, this should be complete the order straightforward because online bookings

In your payment gateway, this doesn't call the WooCommerce hook which we have used once the order gets completed