An account is automatically created even though the customer skipped the 'Create an account' checkbox when placing an order. #56608
thientran235
started this conversation in
Checkout Flow
Replies: 1 comment
-
Hi @thientran235! Thanks for reporting! It does seem like a bug. Can you please open an issue here so that we can take a look further: https://github.com/woocommerce/woocommerce/issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered an issue where an account is automatically created when placing an order, even though I didn't click on the 'Create an account' checkbox.
I checked the WooCommerce code in the class-wc-checkout.php class and found that as long as the admin enables 'Account creation during checkout,' an account will be created by default when the order is successful, regardless of whether the customer wants to create an account or not.
Is this an intended feature or a bug?
https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/class-wc-checkout.php#L1143


Beta Was this translation helpful? Give feedback.
All reactions