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

[Bug]: bug for variable shippingMethodId is ID! instead of [ID!]! #244

Open
1 task done
ralphsomeday opened this issue Jan 26, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@ralphsomeday
Copy link
Contributor

Expected Behavior

when ordering and selecting a shipping method then the page allows you to continue to the billing section

Actual Behavior

when ordering and selecting a shipping method the customer info page is crashing and we can't place an order

Possible Solution

Change shippingMethodId variable type from ID! to [ID!]! in setOrderShippingMethodMutation

Steps to reproduce

Install vendure with test data and vue-storefront for vendure placing an order and when you are at the customer info page after filling in all your information you get the option to select the shipping method when you pick any shipping method then the page crashes and you cannot continue your order

What version of vendure integration are you using?

2.1.6

What version of Node.js are you using?

18

What browser (and version) are you using?

Chrome

What operating system (and version) are you using?

macOS

Relevant log output

ERROR  [VSF][error]:  [GraphQL error]: Message: Variable "$shippingMethodId" of type "ID!" used in position expecting type "[ID!]!"., Location: [column: 33, line: 119], [column: 44, line: 120], Path: undefined

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

1 participant