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

getOrders and probably other Requests are no longer working #83

Open
TheLegendaryMarc opened this issue Sep 13, 2024 · 1 comment
Open

Comments

@TheLegendaryMarc
Copy link

at the current State the getOrders Function is not usable here's a quick example:

Code

$user = '<USER>';
$apiPassword = '<PASSWORD>';
$apiKey = '<API_KEY>';

$client = new \BillbeeDe\BillbeeAPI\Client($user, $apiPassword, $apiKey);

$orders = $client->orders()->getOrders();

var_dump($orders);

and the Results are:

Results

object(BillbeeDe\BillbeeAPI\Response\GetOrdersResponse)#96 (4) { ["data"]=> array(0) { } ["paging"]=> NULL ["errorMessage"]=> NULL ["errorCode"]=> int(0) }

Same Request with Postman and same Credentials:

Postman

image

Technical View

a deeper look into the Code shows that the data is being retrieved but is not mapped correctly into the OrderResponse interface. Used PHP Version 8.0

@kruegge82
Copy link

maybe the samem problem with composer configuration, see
#78

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

2 participants