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

json: cannot unmarshal string into Go struct field ItemResponse.additional_info.items.quantity of type int #38

Closed
butaca opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@butaca
Copy link

butaca commented Mar 14, 2024

When calling payment.Client.Get I get the error "json: cannot unmarshal string into Go struct field itemResponse.additional_info.items.quantity of type int".

100% repro
go 1.22.0
github.com/mercadopago/sdk-go v0.0.0-20240313185426-6f3af8beb59f

@gdeandradero
Copy link
Collaborator

Hi, thanks for letting us know, we'll fix it.
We haven't released an official version yet. We will be release it in the next few weeks, so be careful with breaking changes 😅.

@gdeandradero gdeandradero added the bug Something isn't working label Mar 14, 2024
@gdeandradero
Copy link
Collaborator

Fixed by #39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants