• Resolved safnasash

    (@safnasash)


    Hello,

    i have fultter app that using wordpress rest API and woocommerce Rest API to connect the wordpress website with woocommerce, which is working fine, i enableded google captcha of elementor user login form in user registration form and also using woocommerce recaptcha plugin to enable captcha in checkout form, wooocmmerce login, woocommerce register and wp login form. after this users cant register through mobile app and shows the error like below:

    {“code”:”woocommerce_rest_cannot_view”,”message”:”Sorry, you cannot list resources.”,”data”:{“status”:401}}

    Please reply ASAP

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @safnasash

    The error message you’re seeing is typically related to authentication issues. It seems that the Google reCAPTCHA you’ve enabled might be interfering with the authentication process on your mobile app.

    Here are a few steps you could try:

    1. Temporarily disable the reCAPTCHA on your WooCommerce and Elementor forms. Check if the registration through the mobile app works. If it does, the issue is likely with the reCAPTCHA implementation.
    2. If you’re using JWT for authentication, ensure that your WordPress REST API is properly set up to handle JWT authentication.
    3. Check your WooCommerce REST API keys. Make sure they’re correctly added to your Flutter app.

    If none of these steps solve the problem, it would be helpful to have a look at your server logs for more detailed error messages. This could give us a better understanding of what’s going wrong.

    I hope this provides some clarity on the matter. If you have any other questions or need further assistance, please don’t hesitate to ask.

    Thread Starter safnasash

    (@safnasash)

    Hello,

    all other apis are working now

    {“code”:”rcfwc_error”,”message”:”Please complete the reCAPTCHA to verify that you are not a robot.”,”data”:{“status”:400}}
    only signup having issues

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recaptcha blocking wocommerce Rest API’ is closed to new replies.