checkout flow documentation