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

Cart API issue : 500 error and merge cart not triggering : #18349

Open
printuidocs opened this issue Jan 9, 2024 · 0 comments
Open

Cart API issue : 500 error and merge cart not triggering : #18349

printuidocs opened this issue Jan 9, 2024 · 0 comments

Comments

@printuidocs
Copy link

Spartacus version : 5.2.x

LoggedIn from third party application

After received token information from 3rd party application , doing two steps to make user as LoggedIn user

Issue 1)
this.userIdService.setUserId(OCC_USER_ID_CURRENT);
this.store.dispatch(new AuthActions.Login());

When loading cart API , {doamin and base site}}/users/current/carts/9d9ejfjs90a9d9f
Here application taking userId as current and taking cart id as Anonymous Id and finally throwing 500 error

Issue 2)

If there is any anonymous cart merge cart API , not triggering after changing user type as current

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

No branches or pull requests

1 participant