Guest checkout not working with vue-storefront
See original GitHub issueDescribe the bug
I’ve installed vendure and added vue-storefont.
From the first glance everything works as expected, but i can’t navigate to shipping step with unauthorized user.
When i filled in name/email in /checkout/customer
route, and clicked “Continue Shipping” button, I’am redirected to Home page.
To Reproduce Steps to reproduce the behavior:
- Go to ‘/checkout/customer’
- Fill in user name and email
- Click ‘Continue Shipping’
- In api request
setCustomerForOrder
there is error:{ "errorCode": "NO_ACTIVE_ORDER_ERROR", "message": "There is no active Order associated with the current session", "__typename": "NoActiveOrderError" }
Expected behavior Unauthorized user should be able to proceed with checkout
Environment (please complete the following information):
- @vendure/core version: 1.4.5
- Nodejs version: v14.16.1
- Database : postgres
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[CT] Improve checkout · Issue #4402 · vuestorefront ... - GitHub
cover all scenarios of checkout flow: (guest, logged user, a guest who creates an account, pre-load address from the account) · add loading...
Read more >Payment Methods and placeOrder - Get Help - Vue Storefront
This method emits the checkout-before-placeOrder event (if not creating an account). If Backend Payment Methods is enabled and a backend ...
Read more >Not working whith guest checkout - WordPress.org
Hi, I´m new to cartflows and already configured a checkout and a thank you page (free version). Unfortunately the funnel only works for...
Read more >VUE Storefront: Category page shows the item counts as string
Without a full working example, I can't really see the entire problem, but the string that you're passing to $t is just a...
Read more >Uniform & Vue Storefront - Interview with Tim Benniks - YouTube
Jacob & Aditya interviewed Tim Benniks, the Principal developer advocate at Uniform. They've discussed: - What is DXP?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the demo storefront, the
setCustomerForOrder
does get called, but only once you submit your payment details.Guest checkout do seem to be working with Vendure (I just tested the guest checkout flow in the demo storefront), so I think the error is either with the VSF integration project, or some other config setting perhaps.
ok thanks. checked, everything is correct. The problem is within api which comes from Vendure app, that’s why i thought it might be related with Vendure, not with storefront. BTW on the store example from the link below, i can see that no api request is sent, when i’ve filled in user/email information. https://demo.vendure.io/storefront/checkout/shipping
Anyways thanks for help, will try to dig further.