Fix checkout to work with urls