Add checkout functionality.