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

Upload invoice bugfix #43

Closed
wants to merge 2 commits into from
Closed

Upload invoice bugfix #43

wants to merge 2 commits into from

Conversation

jobjen02
Copy link
Contributor

@jobjen02 jobjen02 commented Jan 2, 2024

The uploadInvoice function is broken after the last update. There was no way to actually upload the invoice, since you couldn't pass the invoice to the function. The uploadInvoice function was modified in #42, and broken since then.

I restored the code to the state of how it was in the previous release. That has always worked for us.

If there are any comments, please let me know!

@jobjen02
Copy link
Contributor Author

jobjen02 commented Jan 2, 2024

The order of the 2 parameters $shipmentId and $invoice have been updated in MR #36. Please check what the correct parameter order is.

@casperbakker
Copy link
Member

That is unfortunate. We cannot change the Client directly, we have to make sure the generator works well. It seems to be broken when converting the v2 to the v3 definitions in #36.

@WoutervanderLoopNL I see that you changed some things about the multipart uploader in the client generator. Do you quickly see what went wrong? Otherwise I will try to debug it.

WoutervanderLoopNL added a commit to WoutervanderLoopNL/bol-retailer-php-client that referenced this pull request Jan 3, 2024
casperbakker added a commit that referenced this pull request Jan 3, 2024
@casperbakker
Copy link
Member

Fixed in the generator

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

Successfully merging this pull request may close these issues.

2 participants