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