การแก้ปัญหาธุรกรรมทางกายภาพ (Dialogflow)
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หากพบปัญหาในการทำธุรกรรม Intent ด้วยการดำเนินการของคุณ โปรดดู
คุณมีอาการตามที่อธิบายไว้ในส่วนต่อไปนี้ และ
ให้ทำตามขั้นตอนการแก้ปัญหาที่แนะนำ
การทำงานไม่ตอบสนอง
ลักษณะปัญหา: เมื่อเรียกให้แสดงความตั้งใจในการทำธุรกรรม (TransactionRequirements
, TransactionDecision
) ผู้ใช้ได้รับการตอบกลับว่า "แอปไม่ตอบสนองในขณะนี้ โปรดลองอีกครั้งในอีกสักครู่"

การแก้ปัญหา: ตรวจสอบว่าโปรเจ็กต์การดำเนินการมีข้อมูลไดเรกทอรีที่จำเป็นทั้งหมด รวมถึงลิงก์นโยบายความเป็นส่วนตัว
ประมวลผลใบเสร็จไม่ได้
ลักษณะปัญหา: ระหว่างการให้สิทธิ์ซื้อ ผู้ใช้จะได้รับคำตอบว่า
"ขออภัย เราประมวลผลใบเสร็จของคุณไม่ได้"

การแก้ปัญหา
- ตรวจสอบว่า
merchantOrderId
ไม่ซ้ำกัน สั่งซื้อใหม่ไม่ได้
ด้วยรหัสคำสั่งซื้อที่มีอยู่ก่อนหน้า
- ตรวจสอบว่าคุณส่งคำตอบง่ายๆ
ควบคู่ไปกับ
orderUpdate
เริ่มต้น นี่คือรูปแบบการตอบกลับที่จำเป็น
ไม่สามารถส่งการอัปเดตคำสั่งซื้อ
ลักษณะปัญหา: เมื่อส่งการอัปเดตคำสั่งซื้อสำหรับคำสั่งซื้อที่มีอยู่ API คำสั่งซื้อ
ตอบกลับด้วยรหัสข้อผิดพลาด 500 และข้อความแสดงข้อผิดพลาดต่อไปนี้: "คำสั่งซื้อ OrderID
อัปเดตโปรเจ็กต์ ProjectID
ไม่ได้ โปรดลองอีกครั้ง"
การแก้ปัญหา
การอัปเดตคำสั่งซื้อไม่ปรากฏเป็นการแจ้งเตือน
ลักษณะปัญหา: มีการจัดลำดับเริ่มต้น และอัปเดตคำสั่งซื้อเพื่อติดตามผลสำเร็จ
รหัสสถานะ 200 แต่ไม่ปรากฏเป็นข้อความ Push ในอุปกรณ์ที่พร้อมใช้งาน Assistant ของผู้ใช้
อุปกรณ์
การแก้ปัญหา: การอัปเดตคำสั่งซื้อบางรายการอาจไม่ได้แสดงข้อความ Push
เฉพาะการอัปเดตที่มีสถานะ CANCELLED
, FULFILLED
, REJECTED
หรือ RETURNED
เท่านั้น
ผลลัพธ์ในการแจ้งเตือน
ดูธุรกรรมในบัญชี
คุณสามารถดูธุรกรรมที่ดำเนินการผ่านบัญชีของคุณโดยทำตามขั้นตอนต่อไปนี้
- ไปที่ myaccount.google.com และเข้าสู่ระบบ
- คลิกการชำระเงินและ การสมัครรับข้อมูลในเมนูด้านซ้าย
- ในส่วนการซื้อ ให้คลิกจัดการการซื้อ
นอกจากนี้ คุณสามารถดูธุรกรรมแซนด์บ็อกซ์ได้โดยการเพิ่มพารามิเตอร์การค้นหาของ URL ต่อไปนี้
myaccount.google.com/purchases?sandbox=1
เคล็ดลับการแก้ปัญหาอื่นๆ
หากอาการข้างต้นไม่ตรงกับปัญหาที่คุณพบ คุณอาจ
ต้องการอ้างอิงบันทึกStackdriverของโปรเจ็กต์
สำหรับการแก้ปัญหาเพิ่มเติม คุณยังดูการตั้งค่าบัญชี Google ได้ด้วย
เพื่อดูและจัดการการซื้อที่ดำเนินการด้วยการดำเนินการของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThis troubleshooting guide helps you resolve issues when users can't complete transactions with your Action.\u003c/p\u003e\n"],["\u003cp\u003eCommon problems include the Action not responding, issues processing receipts, difficulties sending or receiving order updates, and viewing transaction history.\u003c/p\u003e\n"],["\u003cp\u003eSolutions involve verifying Action settings, ensuring unique order IDs, using correct response formats, and checking authentication credentials.\u003c/p\u003e\n"],["\u003cp\u003eOrder update notifications are only sent for specific status changes like cancellations, fulfillments, rejections, or returns.\u003c/p\u003e\n"],["\u003cp\u003eFor further assistance, consult Stackdriver logs or review your Google Account settings for purchase history and management.\u003c/p\u003e\n"]]],[],null,["# Troubleshooting Physical Transactions (Dialogflow)\n\nIf you're having trouble fulfilling transaction intents with your Action, see if\nyou're experiencing any of the symptoms described in the following sections and\ntake the recommended troubleshooting steps.\n\nAction not responding\n---------------------\n\n**Symptom:** When triggering a transactions intent (`TransactionRequirements`, `TransactionDecision`), the user gets back a response of *\"App isn't responding at the moment. Try again soon.\"*\n\n**Troubleshooting:** Ensure your Action project has all the required directory information, including a privacy policy link.\n\nUnable to process receipt\n-------------------------\n\n**Symptom:** During purchase authorization, the user gets a response saying\n\"*Sorry, I am unable to process your receipt.*\"\n\n**Troubleshooting:**\n\n- Make sure your `merchantOrderId` is unique. A new order can't be placed with a previous, existing order ID.\n- Make sure you're sending a [simple response](/assistant/conversational/responses#simple_responses) alongside the initial `orderUpdate`; this is the mandatory response format.\n\nUnable to send order updates\n----------------------------\n\n**Symptom:** When sending an order update for an existing order, the Orders API\nresponds with error code 500 and the following error message: \"*Order `OrderID`\nfor project `ProjectID` could not be updated. Please try again.*\"\n\n**Troubleshooting:**\n\n- Make sure you're supplying working credentials during [JWT authentication for\n the Orders API](https://github.com/google/google-api-nodejs-client#using-jwt-service-tokens).\n\nOrder updates not appearing as notifications\n--------------------------------------------\n\n**Symptom:** Initial order is placed and follow-up order updates succeed with\nstatus code 200 but don't appear as push notifications on the user's Assistant-enabled\ndevice.\n\n**Troubleshooting:** Not all order updates will be reflected as a push notification;\nonly updates with a status of `CANCELLED`, `FULFILLED`, `REJECTED`, or `RETURNED`\nresult in a notification.\n\nView transactions on your account\n---------------------------------\n\nYou can view transactions that have been made through your account by following these steps:\n\n1. Navigate to [myaccount.google.com](/assistant/df-asdk/transactions/physical/myaccount.google.com) and log in.\n2. Click **Payments \\& subscriptions** in the left menu.\n3. Under **Purchases** , click **Manage purchases**.\n\nYou can also view sandbox transactions by adding the following URL query parameter: \n\n```text\nmyaccount.google.com/purchases?sandbox=1\n```\n\nOther troubleshooting tips\n--------------------------\n\nIf the above symptoms don't describe the problem you're running into, you may\nwant to refer to your project's [Stackdriver logs](/assistant/console/troubleshooting)\nfor further troubleshooting. You can also refer to your [Google Account settings](https://myaccount.google.com/preferences?pli=1#subscriptions)\nto view and manage any purchases you've made with your Action."]]