• Resolved johnstaunton

    (@johnstaunton)


    Hi,

    We have a client using your plugin – however whenever we post an order via the API the customer details are stripped out and the message tells us to enter the Captcha. Given that we’re using the API to create orders we cannot see the captcha. The question is, how do we disable the captcha for API requests (since we’re already authenticated there, we don’t need to use a Captcha to create customers). We want to use it for customers who pay via the webshop, but not via the API.

    Thanks

    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • If they are already authenticated there you can check “Hide Captcha for logged in users?”

    Thread Starter johnstaunton

    (@johnstaunton)

    Hi Shamim,

    If who is already authenticated? We’re generating orders via the WooCommerce API so there is no login / authentication for customers at all. We often create a new customer as part of this API Order creation, and that is where we get the error message.

    John

    You can use anr_verify_captcha_pre filter to bypass captcha validation for your API

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin blocking customer via API’ is closed to new replies.