ECommerceContext.CurrentCustomer is always null in my development environment.

Marcio Barboza asked on January 8, 2018 01:45

I have a customer who uses Kentico 7, so I set up my localhost pretty similar my production environment to be more comfortable when I need to perform some maintenance. However, when the application is running in localhost, and I try to check out my cart, I receive an error that says the ECommerceContext.CurrentCustomer is null, but in production works appropriately. Does anyone have a clue about that?

Recent Answers


David te Kloese answered on January 8, 2018 09:32

Are you logged on to the Administration interface in the same browser?

You say you've set up your local host environment "pretty similar", is it a copy or based on same origin?

Is your local environment running on the http://localhost url or something different?

0 votesVote for this answer Mark as a Correct answer

Marcio Barboza answered on January 9, 2018 23:37

Are you logged on to the Administration interface in the same browser?
YES!

You say you've set up your local host environment "pretty similar", is it a copy or based on same origin?
Based on production

Is your local environment running on the http://localhost url or something different?
It's running in https://localhost

Thank you for answering!!!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.