Error website can't log in to buy the course

I had problems when trying to buy another course. I log in to my account, then click on all courses and website to log out of my account. Does anyone know how to fix it?