• WooCommerce has a My Account page which includes a Log In and a Register form (when the Allow customers to create an account on the "My account" page option is activated on the WooCommerce > Settings > Accounts & Privacy page ).

    This page just stops working, I mean, completey, when the WordFence WooCommerce integration with the Google Recaptcha V3 service (and WITHOUT 2FA) is activated.

    I have thoroughly tested this issue, the result is always the same: this is clearly, really a WordFence plugin issue/bug.

    The symptom: neither the login nor the registration forms work on the My Account page when the WordFence WooCommerce integration with Google Recaptcha V3 is activated (and without tampering with 2FA).

    Thanks for investigating this further.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @lunule and thanks for reaching out to us!

    When it comes to the WooCommerce Login Security integration, We are looking for an element with the ID primary and that is where we are appending login messages. We check that there is a .woocommerce element, but we don’t make sure #primary exists.

    If you add a div on the page with id="primary" the messages should be displayed there. It should be added by WooCommerce by default, so it might be getting overridden by your theme. If you need to, reach out to your theme provider and they should be able to add this div.

    We are actually rapidly working on a fix for this so this tag doesn’t need to be present for the login to work, which should be released hopefully soon.

    Thanks again for your support!

    Thread Starter Gabor Lippert

    (@lunule)

    Hi Adam,

    Thanks for your detailed reply.

    This issue is not related to the page’s HTML structure – the div with the id primary is there.
    This seems to be a functionality issue: when both the login and the registration forms are available on the same page (and the WordFence WooCommerce integration with the Google Recaptcha V3 service [and WITHOUT 2FA] is activated), both forms stop working.

    You can see what the problem is by testing the registration form here:
    https://qigongstag.wpengine.com/my-account/

    Thanks for taking another look at this issue.

    Thread Starter Gabor Lippert

    (@lunule)

    Quick update: the testing url has changed to
    https://twirling.space/playground/biz/internationalqigongfoundation/my-account/

    Thanks again,
    Gabor

    Thread Starter Gabor Lippert

    (@lunule)

    Also, I forgot to mention the symptom: the login/registration forms stop working with the earlier-mentioned WordFence configuration, meaning, instead of logging in/registering, an error gets displayed, saying

    ERROR: A username and password must be provided. Lost your password?

    Once the following WordFence options are disabled:
    – Enable reCAPTCHA on the login and user registration pages
    – Enable WooCommerce integration
    … the forms work nicely, as expected, again.

    (see screenshot here: https://ibb.co/fxwPFsx)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WooCommerce integration doesn’t work’ is closed to new replies.