การชำระเงินโดยไม่ลงชื่อเข้าใช้ช่วยให้ผู้ใช้ทำการสั่งซื้อผ่านพาร์ทเนอร์ผ่าน Google ได้ ไม่ว่าผู้ใช้จะเข้าสู่ระบบบัญชี Google หรือไม่ก็ตาม
หากต้องการตรวจสอบว่าได้ส่งคำสั่งซื้อของผู้ใช้ในฐานะผู้มาเยือนหรือเข้าสู่ระบบบัญชี Google ของผู้ใช้เหล่านั้น ให้ตรวจสอบช่อง emailVerified
ภายใน finalOrder.cart.extension.contact
ใน SubmitOrderRequestMessage
คำสั่งซื้อตามผู้ใช้ที่เข้าสู่ระบบบัญชี Google จะตั้งค่า emailVerified
เป็น "จริง" ในขณะที่คำสั่งซื้อของผู้ใช้ที่เป็นแขกจะไม่มี emailVerified
เลย
คำสั่งซื้อของผู้มาเยือน
{ "finalOrder": { ... "cart": { ... "extension": { "@type": "type.googleapis.com/google.actions.v2.orders.FoodItemExtension", "contact": { "displayName": "Lovefood Ordering", "email": "ilovefood@example.com", "phoneNumber": "+16501234567", "firstName": "Lovefood", "lastName": "Ordering" } } } } }
ลำดับที่เข้าสู่ระบบ
{ "finalOrder": { ... "cart": { ... "extension": { "@type": "type.googleapis.com/google.actions.v2.orders.FoodItemExtension", "contact": { "displayName": "Lovefood Ordering", "email": "ilovefood@example.com", "phoneNumber": "+16501234567", "firstName": "Lovefood", "lastName": "Ordering", "emailVerified": true } } } } }