is there any other way to get the card purchase to work besides logging in and out?
I'm afraid you'll have to contact Itch themselves. We don't have any way to fix their site if it simply won't work. Sorry for the trouble!