Describe the bug
It appears this same bug exists in WooCommerce Stripe. When account settings require an account to checkout, the cart contents are cleared when logging in. This was fixed in WooPayments with this fix.
To Reproduce
Steps to reproduce the behavior:
Configure WooCommerce account settings to require an account and do not allow account creation at checkout
Add a product to the cart
Proceed to checkout and log in
The cart is empty
Expected behavior
Cart contents should persist when logging in at checkout
ScreenshotsAccount Settings
Environment (please complete the following information):
WordPress Version - 6.6.5
WooCommerce Version - 9.0.2
Stripe Plugin Version - 8.4.0
Browser [e.g. chrome, safari] and Version - Chrome Version 126.0.6478.115 (Official Build) (x86_64)
Describe the bug It appears this same bug exists in WooCommerce Stripe. When account settings require an account to checkout, the cart contents are cleared when logging in. This was fixed in WooPayments with this fix.
To Reproduce Steps to reproduce the behavior:
Expected behavior Cart contents should persist when logging in at checkout
Screenshots Account Settings
Environment (please complete the following information):
Additional context p1719281718889519-slack-C7U3Y3VMY