add checkout with scan