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

Account login not working #1064

Open
dapetri opened this issue Dec 24, 2023 · 2 comments
Open

Account login not working #1064

dapetri opened this issue Dec 24, 2023 · 2 comments

Comments

@dapetri
Copy link

dapetri commented Dec 24, 2023

Is it me, or is the account login and visualisation of the order history not working yet?

@typeofweb
Copy link
Contributor

It works just fine, I just checked.

Could you be more descriptive when reporting an issue? What's not working? What's the problem? What is the result and what did you expect? What are the steps to reproduce?

@dapetri
Copy link
Author

dapetri commented Dec 25, 2023

Thank you for your answer @mmiszy. Here a more detailed description:

I cloned the repository and checked out the main branch. Then I set in the .env file NEXT_PUBLIC_SALEOR_API_URL to point to the graphql API of my Saleor Cloud test environment, where I also set up Stripe payment provider in test and setup the SMTP app. I then locally started the development server. All the products of the Saleor Cloud test environment appear correctly and the checkout and payment procedure work in Guest mode, the orders appear in the Saleor Dashboard and I receive the order confirmation mails.

When I try in "create account mode" the order goes through correctly, the same way as in guest mode. I also receive an "Account activation" mail. However, when I try to click on the activation link in the mail, It brings me to the checkout page where it shows the message: "We couldn't fetch information about your checkout". If I the go back to the storefront and try to login with the login information that I previously chose, nothing happens after I press the Log In button.

The behaviour is the same for the deployed storefront on vercel.

@dapetri dapetri closed this as completed Dec 25, 2023
@dapetri dapetri reopened this Dec 25, 2023
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

2 participants