Skip to content

How to Add Passkey Sign In to the Checkout

A returning customer who has to remember a password at checkout is a customer who might leave. This puts the passkey button right in the checkout.

The button lives in WooCommerce’s own “Returning customer?” form, which only exists when WooCommerce allows it. Open WooCommerce → Settings → Accounts & Privacy and tick Allow customers to log into an existing account during checkout.

Open Configuration → Login Placement. Checkout Login is ticked by default. Leave it on and save.

The Login Placement tab

Signed out, with something in the cart, the checkout starts with Returning customer? Click here to login. The form that opens has the passkey button under it.

The checkout’s Returning customer form with Sign in with a passkey

Pressing Sign in with a passkey and confirming on the device opens the checkout again, signed in, with the cart as it was and the customer’s saved address filled in.

The checkout after signing in with a passkey

The sign in is recorded in Activity with Where set to Checkout.

The WooCommerce Checkout block has no login form. Its sign in link goes to My Account, where the passkey button is, and the customer comes back to the checkout from there.