Set booking status to 'unpaid'

This commit is contained in:
Narek Zakarian 2024-07-22 18:23:02 +04:00
parent 2a31189c04
commit 25f229c252
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -434,7 +434,7 @@ class CompatModule implements ModuleInterface {
$booking_data['persons'] = $cart_item['booking']['_persons'];
}
create_wc_booking( $cart_item['product_id'], $booking_data, $wc_order->get_status() );
create_wc_booking( $cart_item['product_id'], $booking_data, 'unpaid' );
}
}
} catch ( Exception $exception ) {