API Giao dịch sẽ ngừng hoạt động từ ngày 3 tháng 5 năm 2023, trước khi hành động trò chuyện ngừng hoạt động từ ngày 13 tháng 6 năm 2023. Để biết thêm thông tin, hãy xem phần Hành động trò chuyện ngừng hoạt động.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nếu bạn gặp vấn đề khi thực hiện ý định giao dịch bằng Hành động của mình, hãy tìm hiểu xem
bạn gặp phải bất kỳ triệu chứng nào được mô tả trong các phần sau và
hãy làm theo các bước khắc phục sự cố được đề xuất.
Hành động không phản hồi
Dấu hiệu: Khi kiểm tra các yêu cầu về giao dịch hoặc quyết định của người dùng,
người dùng nhận được phản hồi "Ứng dụng hiện không phản hồi. Hãy thử lại sau."
Khắc phục sự cố: Đảm bảo dự án Hành động của bạn có tất cả thông tin bắt buộc về thư mục, bao gồm cả đường liên kết đến chính sách quyền riêng tư.
Không thể xử lý biên nhận
Dấu hiệu: Trong thời gian cho phép mua hàng, người dùng nhận được phản hồi cho biết
"Rất tiếc, tôi không thể xử lý biên nhận của bạn."
Khắc phục sự cố:
Hãy đảm bảo merchantOrderId của bạn là duy nhất. Không thể đặt đơn đặt hàng mới
bằng mã đơn hàng trước đó.
Đảm bảo rằng bạn đang gửi phản hồi đơn giản
cùng với orderUpdate ban đầu; đây là định dạng phản hồi bắt buộc.
Không thể gửi thông tin cập nhật về đơn đặt hàng
Dấu hiệu: Khi gửi thông tin cập nhật về đơn đặt hàng cho một đơn đặt hàng hiện có, Orders API
phản hồi với mã lỗi 500 và thông báo lỗi sau: "Đặt hàng OrderID
không thể cập nhật cho dự án ProjectID. Vui lòng thử lại."
Thông tin cập nhật về đơn đặt hàng không xuất hiện dưới dạng thông báo
Dấu hiệu: Đơn đặt hàng ban đầu được đặt và cập nhật đơn đặt hàng tiếp theo thành công với
mã trạng thái 200 nhưng không xuất hiện dưới dạng thông báo đẩy trên màn hình có Trợ lý của người dùng
thiết bị.
Khắc phục sự cố: Không phải tất cả nội dung cập nhật đơn đặt hàng đều sẽ được phản ánh dưới dạng thông báo đẩy;
chỉ những nội dung cập nhật có trạng thái CANCELLED, FULFILLED, REJECTED hoặc RETURNED
sẽ nhận được thông báo.
Xem các giao dịch trên tài khoản của bạn
Bạn có thể xem các giao dịch đã được thực hiện thông qua tài khoản của mình bằng cách làm theo các bước sau:
Nhấp vào Thanh toán và gói thuê bao ở trình đơn bên trái.
Trong phần Giao dịch mua, hãy nhấp vào Quản lý giao dịch mua.
Bạn cũng có thể xem các giao dịch trong hộp cát bằng cách thêm tham số truy vấn URL sau:
myaccount.google.com/purchases?sandbox=1
Các mẹo khắc phục sự cố khác
Nếu các triệu chứng trên không mô tả vấn đề bạn đang gặp phải, bạn có thể
muốn tham chiếu đến nhật ký Stackdriver của dự án
để khắc phục thêm. Bạn cũng có thể tham khảo chế độ cài đặt Tài khoản Google của bạn
để xem và quản lý mọi giao dịch mua bạn đã thực hiện bằng Hành động của mình.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-28 UTC."],[[["\u003cp\u003eTransaction functionalities for Conversational Actions are unavailable in Denmark, France, Germany, Italy, the Netherlands, Norway, Poland, Spain, and Sweden due to regulatory requirements.\u003c/p\u003e\n"],["\u003cp\u003eActions with Transactions will continue to function in all other supported locales.\u003c/p\u003e\n"],["\u003cp\u003eTroubleshooting steps are provided for common issues like Action unresponsiveness, receipt processing failures, order update failures, and missing order update notifications.\u003c/p\u003e\n"],["\u003cp\u003eUsers can view their transaction history through their Google Account settings or by visiting myaccount.google.com.\u003c/p\u003e\n"]]],["Due to regulatory changes, Conversational Actions' transaction features are unavailable in Denmark, France, Germany, Italy, the Netherlands, Norway, Poland, Spain, and Sweden. Troubleshooting steps include ensuring complete directory information, unique `merchantOrderIds`, and proper JWT authentication for the Orders API. Only order updates with specific statuses (`CANCELLED`, `FULFILLED`, `REJECTED`, `RETURNED`) trigger notifications. Users can view transactions on their Google Account via the \"Payments & subscriptions\" section or via Stackdriver logs.\n"],null,["# Troubleshooting physical transactions\n\n| **Warning:** Due to new regulatory requirements, transaction functionalities for Conversational Actions are no longer available in the following countries:\n|\n|\n| Denmark, France, Germany, Italy, the Netherlands, Norway, Poland, Spain, Sweden\n|\n|\n| Actions with Transactions will continue to work in all supported locales.\n\n\u003cbr /\u003e\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 checking for transaction requirements or decision of the user,\nthe 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/prompts-simple) 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](https://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."]]