woocommerce / woocommerce/wc-api-php

Error: Missing OAuth parameter oauth_consumer_key [woocommerce_rest_authentication_missing_parameter]

Open
#290 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.