1

We are making an application that can make an order from the mobile for Woocommerce API, when I used a loggedin user with token for validate the authentication, its showing error:

Sorry, you cannot view this resource.

But when I am using Administrator, its works. How I can make an other for regular user (non-admin)?

1
  • Hi, welcome to WordPress Development. As a rule, the community considers questions about third-party plugins (such as woocommerce) off-topic so you might notice some down-votes and answers may be slow if they come at all. Have you tried asking the plugin author? You can find out what questions are a good fit here. Commented Jun 6, 2020 at 15:14

1 Answer 1

0

I found our my solution by customize "woocommerce_rest_check_permissions"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.