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

API get checkout by token not working #1046

Closed
concua1111 opened this issue Mar 27, 2024 · 6 comments · Fixed by #1048
Closed

API get checkout by token not working #1046

concua1111 opened this issue Mar 27, 2024 · 6 comments · Fixed by #1048
Labels

Comments

@concua1111
Copy link

concua1111 commented Mar 27, 2024

hm.. I'm integrating Shopify sharp with .net API. I'm facing this error. I think the checkout has some problem: "Error converting value "51e23315cc62d53897c9e151815986bb" to type 'System.Nullable`1[System.Int64]'. Path 'checkout.line_items[0].id'."

@concua1111
Copy link
Author

key and id should be strings. I pulled out checkout and saw that the line item id was a string like "51e23315cc62d53897c9e151815986bb". but in the code the id is being inherited with type long.

@concua1111
Copy link
Author

please check, it's urgent for us.
image

@nozzlegear
Copy link
Owner

Hey! Thanks for the bug report. I should be able to fix this right away. Which version of ShopifySharp are you using here?

@nozzlegear nozzlegear added the bug label Mar 27, 2024
@concua1111
Copy link
Author

hi. thanks for your response, I'm using ver 6.13.0.

@nozzlegear
Copy link
Owner

nozzlegear commented Mar 28, 2024 via email

@concua1111
Copy link
Author

hi @nozzlegear . And also missing some fields in "line_item" and "applied_discounts" of the checkout object. kindly update this also. thank you
image

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

Successfully merging a pull request may close this issue.

2 participants