Set the default status to unpaid

This commit is contained in:
Narek Zakarian 2024-07-23 14:23:38 +04:00
parent 4c030e8134
commit e300ccaa0b
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

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