mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Set booking status to 'unpaid'
This commit is contained in:
parent
2a31189c04
commit
25f229c252
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue