Skip to content

How to Use 2FA with the Checkout Login

The WooCommerce checkout has its own login form. With 2FA on, it leads to the same code screen and back.

This is a WooCommerce setting: WooCommerce → Settings → Accounts & Privacy → Allow customers to log into an existing account during checkout. The plugin needs nothing else.

Under Returning customer? Click here to login, the customer types their username and password.

The login form on the checkout page

The code screen opens on the My Account page, as for any sign in.

The code screen

After the code, the customer is back at checkout, signed in, with the cart and their saved address in place. On the demo, Amara went from the code screen straight back to checkout with her beanie in the cart.

The checkout after signing in, with the billing details filled in

The activity log records this sign in under Where: My Account, because it used the WooCommerce login form.