You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #3865, we switched booking products back to the non-StoreAPI add-to-cart method for express checkout, as a quick fix to resolve an issue about missing data.
We need to investigate how to move it back to StoreAPI, and pass the missing data.
In #3865, we switched booking products back to the non-StoreAPI add-to-cart method for express checkout, as a quick fix to resolve an issue about missing data.
We need to investigate how to move it back to StoreAPI, and pass the missing data.
The issue seems to be that Bookings assumes that the data is in
$_POST
when an item is added to the cart, and it performs some validation code: https://github.com/woocommerce/woocommerce-bookings/blob/cd978fe375354dd5c5a872b96d27d6ff7c146cb8/includes/class-wc-booking-cart-manager.php#L88This is the stack trace for when that part of the code is run, and we are using StoreAPI to add items to the cart:
The text was updated successfully, but these errors were encountered: