Include checkout function