woocommerce / woocommerce/wc-api-php
Error: Missing OAuth parameter oauth_consumer_key [woocommerce_rest_authentication_missing_parameter]
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 546
- Forks
- 158
- Avg merge
- 3h 21m
- Merged PRs (30d)
- 2
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Laravel 8.3 usage shown in the issue and how automattic/woocommerce is initialized before the orders request. Compare the request against the library's OAuth authentication requirements and determine whether the reported missing parameter is caused by configuration or request construction; done means identifying the cause and documenting a reproducible correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100