case for checkout flow