La confirmación de la compra como invitado les brinda a los usuarios una forma de realizar pedidos con socios a través de Google, independientemente de si accedieron a una Cuenta de Google.
Para determinar si el pedido del usuario se envió como invitado o si accedió a su
Cuenta de Google, verifica el campo emailVerified dentro de la
finalOrder.cart.extension.contact en la
SubmitOrderRequestMessage.
Los pedidos de los usuarios que accedieron a su Cuenta de Google tendrían el emailVerified configurado como verdadero, mientras que los pedidos de los usuarios invitados no tendrían emailVerified.
[null,null,["Última actualización: 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"]]