Transactions API станет устаревшим 3 мая 2023 года, а 13 июня 2023 года прекращается действие диалоговых действий. Дополнительные сведения см. в разделе Прекращение диалоговых действий .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Нажмите на название примера, чтобы просмотреть и загрузить полные примеры на GitHub , а затем приступайте к созданию собственных действий с транзакциями.
Диалоговый поток
В следующей таблице перечислены примеры наших проектов Actions, реализующих транзакции:
Это пример выполнения потока транзакций в песочнице. Он включает в себя подтверждение того, что пользователь может выполнить транзакцию, получение адреса доставки и подтверждение того, что транзакция была успешно завершена.
[null,null,["Последнее обновление: 2024-09-24 UTC."],[[["\u003cp\u003eTransaction functionalities for Conversational Actions are unavailable in Denmark, France, Germany, Italy, the Netherlands, Norway, Poland, Spain, and Sweden due to new regulatory requirements.\u003c/p\u003e\n"],["\u003cp\u003eExisting Actions with Transactions will continue to function in all other supported locations.\u003c/p\u003e\n"],["\u003cp\u003eSample Actions projects demonstrating transaction implementations are available on GitHub, including a basic transaction flow example and a digital goods purchase example using the Digital Goods API.\u003c/p\u003e\n"]]],[],null,["# Samples on GitHub\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\nClick on the sample name to view and download the full samples on\n[GitHub](https://github.com/actions-on-google), then get started to\nbuild your own Actions with transactions.\n\nDialogflow\n----------\n\nThe following table lists our sample Actions projects that implement\ntransactions:\n\n| Sample | Description |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Transactions ([Node.js](https://github.com/actions-on-google/dialogflow-transactions-nodejs), [Java](https://github.com/actions-on-google/dialogflow-transactions-java)) | This is a sandbox example of fulfilling the transaction flow. It includes confirming that a user can perform a transaction, getting a delivery address, and confirming that a transaction was successfully completed. |\n| Digital Goods ([Node.js](https://github.com/actions-on-google/dialogflow-digital-goods-nodejs)) | This sample demonstrates usage of the Digital Goods API to make digital purchases. |"]]