Transactions API در 3 مه 2023 منسوخ خواهد شد، قبل از غروب کنشهای مکالمه در 13 ژوئن 2023. برای اطلاعات بیشتر،
غروب کنشهای مکالمه را ببینید.
عیب یابی تراکنش های فیزیکی (Dialogflow)
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
اگر در انجام اهداف تراکنش با Action خود مشکل دارید، ببینید آیا هر یک از علائم توضیح داده شده در بخشهای زیر را تجربه میکنید و مراحل عیبیابی توصیه شده را انجام دهید.
عمل پاسخ نمی دهد
علامت: هنگام شروع یک هدف تراکنش ( TransactionRequirements
، TransactionDecision
)، کاربر پاسخی دریافت می کند که "برنامه در حال حاضر پاسخ نمی دهد. به زودی دوباره امتحان کنید."

عیب یابی: مطمئن شوید که پروژه Action شما تمام اطلاعات دایرکتوری مورد نیاز، از جمله پیوند خط مشی حفظ حریم خصوصی را دارد.
رسید پردازش نشد
علامت: در طول مجوز خرید، کاربر پاسخی دریافت میکند که میگوید « متأسفم، من قادر به پردازش رسید شما نیستم».

عیب یابی:
- مطمئن شوید
merchantOrderId
شما منحصر به فرد است. یک سفارش جدید را نمی توان با شناسه سفارش قبلی و موجود ارسال کرد. - مطمئن شوید که یک پاسخ ساده در کنار
orderUpdate
اولیه ارسال می کنید. این فرمت پاسخ اجباری است.
ارسال بهروزرسانیهای سفارش امکانپذیر نیست
علامت: هنگام ارسال بهروزرسانی سفارش برای یک سفارش موجود، Orders API با کد خطای 500 و پیام خطای زیر پاسخ میدهد: " OrderID
سفارش برای پروژه ProjectID
نمیتواند بهروزرسانی شود. لطفاً دوباره امتحان کنید. "
عیب یابی:
بهروزرسانیهای سفارش بهعنوان اعلان ظاهر نمیشوند
علامت: سفارش اولیه انجام میشود و بهروزرسانیهای سفارش بعدی با کد وضعیت 200 با موفقیت انجام میشوند، اما بهعنوان اعلانهای فشاری در دستگاه دارای «دستیار» کاربر نشان داده نمیشوند.
عیبیابی: همه بهروزرسانیهای سفارش بهعنوان یک اعلان فشاری منعکس نمیشوند. فقط بهروزرسانیهایی با وضعیت CANCELLED
، FULFILLED
، REJECTED
یا RETURNED
منجر به اعلان میشوند.
معاملات روی حساب خود را مشاهده کنید
با دنبال کردن مراحل زیر می توانید تراکنش های انجام شده از طریق حساب خود را مشاهده کنید:
- به myaccount.google.com بروید و وارد شوید.
- در منوی سمت چپ روی پرداختها و اشتراکها کلیک کنید.
- در بخش خریدها ، روی مدیریت خریدها کلیک کنید.
همچنین میتوانید تراکنشهای جعبه ایمنی را با افزودن پارامتر جستجوی URL زیر مشاهده کنید:
myaccount.google.com/purchases?sandbox=1
سایر نکات عیب یابی
اگر علائم بالا مشکلی را که با آن مواجه هستید توصیف نمی کند، ممکن است بخواهید برای عیب یابی بیشتر به گزارش های Stackdriver پروژه خود مراجعه کنید. همچنین میتوانید برای مشاهده و مدیریت خریدهایی که با Action خود انجام دادهاید، به تنظیمات حساب Google خود مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]