How does payment and checkout work?