“API keys with referer restrictions cannot be used with this API” error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #94720
    Christophe Verougstraete
    Guest

    hello,

    i’ve enabled debug mode and got this warning in the woocommerce logs:

    API keys with referer restrictions cannot be used with this API.

    my question is, how do you advise to restrict my api key for use on this domain or ip only?

    Thanks for advising!
    Kind regards
    Christophe

    #94721
    Dhruvin
    Participant
    Plugin Author

    Hi Christophe,

    You can restrict the API key from the Google Console. You can go to Credentials and click on the API key you want to restrict.

    Now set the restriction you would like to set.

    Best Regards,
    Dhruvin Shah

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Custom Shipping Methods for WooCommerce’ is closed to new topics and replies.