Skip to content

Installing and Activating Google Authenticator

Google Authenticator installs like any WooCommerce extension. Two things decide whether anyone is asked for a code: the license, and the Two-Factor Authentication switch, which is on unless you turn it off.

WooCommerce must be active first. Without it the plugin shows a notice and does nothing.

  • WordPress 6.0 or newer, WooCommerce 6.0 or newer and PHP 7.4 or newer.
  • The zip file from your DevDiggers order.
  • An authenticator app on your own phone, to try it yourself.
  1. Go to Plugins → Add New Plugin.

    The WordPress Plugins menu expanded with Add New highlighted

  2. Click Upload Plugin at the top of the screen.

    The Add Plugins screen with the Upload Plugin button highlighted

  3. Click Choose File and select dd-woocommerce-google-authenticator.zip.

    The plugin upload box with the Choose File button highlighted

  4. Click Install Now.

    The plugin upload box with a zip selected and Install Now highlighted

  5. When the install finishes, click Activate Plugin.

    The install-complete screen with the Activate button highlighted

Do not unzip the file first. WordPress expects the zip itself.

A first activation opens the Setup Wizard. It also creates one table for two-factor activity, adds a Two-Factor Authentication page to My Account, and schedules a daily task that clears old activity.

Nobody is asked for a code yet. 2FA is something each user turns on, unless you make it required for their role.

The plugin’s row on the Plugins screen links straight to its Dashboard, Configuration and Setup Wizard.

The plugin’s row on the Plugins screen with Dashboard, Configuration and Setup Wizard links

Enter your purchase code and email on the wizard’s License step, or later under DevDiggers Plugins → Google Authenticator → Configuration → License. The wizard does not move past this step until the license is active. See License Activation.

The License tab with the license active

Until the license is active, nobody is asked for a code and the My Account page does not show. Every setup is kept, so activating the license brings protection straight back.

Open My Account → Two-Factor Authentication, scan the QR code with your app and type the code it shows. See How to Turn On Two-Factor Authentication in My Account.

Save the recovery codes it shows next. They are your way back in if you lose your phone.

Sign out, then sign in with your password. The code screen appears. Type the code from your app.

The code screen after a correct password

No code screen? Check these, in order:

  1. The license is active, and Two-Factor Authentication is ticked under Configuration → General.
  2. Your account is not in Excluded Users on the same tab.
  3. My Account → Two-Factor Authentication says On for your account.

Users who set up 2FA on 1.x are asked to set it up again with a new QR code, because the 1.x secrets could be worked out from the site address. Until they do, they sign in with their password only. Stores upgrading from 1.x do not see the setup wizard. See How to Upgrade from Version 1.