Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Missing OAuth parameter oauth_consumer_key [woocommerce_rest_authentication_missing_parameter] #290

Open
daniellaurel opened this issue Oct 30, 2020 · 2 comments

Comments

@daniellaurel
Copy link

Im using Lavel 8.3 and "automattic/woocommerce": "^3.0",

If I fetch order from a specific error I get this error Error: Missing OAuth parameter oauth_consumer_key

Here is my code
return response()->json($woocommerce->get('orders?customer=6'));
Am I doing it wrong?

@nipunadodan
Copy link

I'm lost in the same issue too but as I found out it has something to do with the request URL being https or not. If yours is just http you are in the same boat as me. But there's a solution; it doesn't throw an error when you auth via OAuth 1.0 manually. But for some reason, the library doesn't do that. May be using OAuth 2.0. If you found anything helpful pls let me know.

@jithu619
Copy link

Same problem for me too. I am also getting same error for specific "orders/?customer=xx". I am getting response in postman, but in my code, some specific ids are showing this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants