交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
排解實體交易問題 (Dialogflow)
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如果無法使用動作執行交易意圖,請確認
您將遇到以下各節所述的任何症狀,
採取建議的疑難排解步驟
動作沒有回應
問題:觸發交易意圖 (TransactionRequirements
、TransactionDecision
) 時,使用者會收到「應用程式目前沒有回應」的回應。請稍後再試。」

疑難排解:確認您的 Action 專案包含所有必要的目錄資訊,包括隱私權政策連結。
無法處理收據
徵狀:使用者在購買授權期間收到以下回覆:
「很抱歉,我無法處理你的收據。」

疑難排解:
- 確認
merchantOrderId
並未重複。無法建立新訂單
舊有訂單 ID 對應
- 請確認您傳送的是簡單回應
加上初始
orderUpdate
;此為必填的回應格式。
無法傳送訂單最新資訊
問題:傳送現有訂單的更新資訊時,Orders API
傳回錯誤代碼 500 和以下錯誤訊息:「Order OrderID
無法更新專案 ProjectID
。請再試一次。」
疑難排解:
訂單最新動態並未顯示為通知
問題:完成初始訂單,後續追蹤訂單也會成功更新
在使用者已啟用 Google 助理的情況下,系統不會顯示狀態碼 200 的推播通知
裝置。
疑難排解:並非所有訂單更新都會以推播通知的形式呈現。
僅更新狀態為 CANCELLED
、FULFILLED
、REJECTED
或 RETURNED
並顯示通知
在帳戶中查看交易
你可以按照下列步驟查看透過帳戶進行的交易:
- 前往 myaccount.google.com 並登入。
- 按一下「付款與」訂閱。
- 按一下「購買的內容」下方的「管理購買項目」。
您也可以加入以下網址查詢參數,以查看沙箱交易:
myaccount.google.com/purchases?sandbox=1
其他疑難排解提示
如果上述症狀與您的問題不符,您可以
想要參考專案的 Stackdriver 記錄檔
,進一步排解問題。您也可以前往 Google 帳戶設定頁面。
查看及管理所有透過動作進行的購買交易。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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."]]