Гостевой заказ предоставляет пользователям возможность размещать заказы у партнеров через Google, независимо от того, вошли ли они в учетную запись Google.
Чтобы определить, отправлен ли заказ пользователя в качестве гостя или он вошел в свою учетную запись Google, проверьте поле emailVerified в finalOrder.cart.extension.contact в SubmitOrderRequestMessage . Для заказов пользователей, вошедших в свою учетную запись Google, параметру emailVerified будет присвоено значение true, а для заказов гостевых пользователей emailVerified не будет вообще указан.
[null,null,["Последнее обновление: 2025-01-11 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"]]