mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Set the default status to unpaid
This commit is contained in:
parent
4c030e8134
commit
e300ccaa0b
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue