Quy trình thanh toán không cần đăng nhập giúp người dùng đặt hàng với đối tác thông qua Google, bất kể họ có đăng nhập vào Tài khoản Google hay không.
Để xác định xem đơn đặt hàng của người dùng được gửi dưới dạng khách hay đã đăng nhập vào Tài khoản Google của họ, hãy kiểm tra trường emailVerified trong finalOrder.cart.extension.contact trong SubmitOrderRequestMessage.
Đơn đặt hàng của người dùng đã đăng nhập vào Tài khoản Google sẽ có emailVerified được đặt thành true, trong khi đơn đặt hàng của người dùng khách sẽ không có emailVerified.
[null,null,["Cập nhật lần gần đây nhất: 2024-11-26 UTC."],[[["Guest checkout allows users to order through Google without a Google account, but it's available by request only in the US, Canada, and Australia."],["Partners should strengthen fraud monitoring when enabling guest checkout due to the absence of Google account verification."],["Orders from guest users will not have the `emailVerified` field in the `finalOrder.cart.extension.contact` object, while logged-in user orders will have it set to `true`."],["Guest checkout is restricted to orders under $100 and might not work if the user's location differs from the restaurant's; using a VPN to align locations is recommended."]]],["Guest checkout allows users to order without a Google account, available in the US, Canada, and Australia upon request. To enable, submit a support request. Assess fraud monitoring due to guest orders. The `emailVerified` field in `SubmitOrderRequestMessage` indicates guest (missing) or logged-in (true) status. Guest checkout may have issues if the user and restaurant locations don't match and is limited to orders under $100. Example code shows the difference in emailVerified status between a guest order and a logged in order.\n"]]