Transactions API tidak akan digunakan lagi mulai 3 Mei 2023, sebelum penghentian Percakapan Percakapan pada 13 Juni 2023. Untuk mengetahui informasi selengkapnya, lihat Penghentian Action Percakapan.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Jika Anda mengalami masalah saat memenuhi intent transaksi dengan Action Anda, lihat apakah
Anda mengalami salah satu gejala
yang dijelaskan di bagian berikut dan
melakukan langkah-langkah pemecahan
masalah yang direkomendasikan.
Tindakan tidak merespons
Gejala: Saat memeriksa persyaratan transaksi atau keputusan pengguna,
pengguna akan merespons kembali respons "Aplikasi tidak merespons saat ini. Coba lagi nanti."
Pemecahan masalah: Pastikan project Action Anda memiliki semua informasi direktori yang diperlukan, termasuk link kebijakan privasi.
Tidak dapat memproses tanda terima
Gejala: Selama otorisasi pembelian, pengguna menerima respons yang mengatakan
"Maaf, saya tidak dapat memproses tanda terima Anda."
Pemecahan masalah:
Pastikan merchantOrderId Anda unik. Pesanan baru tidak dapat dilakukan
dengan ID pesanan lama yang sudah ada.
Pastikan Anda mengirimkan respons sederhana
bersama orderUpdate awal; ini adalah format respons wajib.
Tidak dapat mengirimkan pembaruan pesanan
Gejala: Saat mengirimkan pembaruan pesanan untuk pesanan yang sudah ada, Orders API
merespons dengan kode error 500 dan pesan error berikut: "Order OrderID
untuk project ProjectID tidak dapat diperbarui. Coba lagi."
Gejala: Pesanan awal dilakukan dan pembaruan pesanan tindak lanjut berhasil dengan
kode status 200, tetapi tidak muncul sebagai notifikasi push di perangkat pengguna yang dilengkapi dengan Asisten
perangkat seluler.
Pemecahan masalah: Tidak semua pembaruan pesanan akan ditampilkan sebagai notifikasi push;
hanya memperbarui dengan status CANCELLED, FULFILLED, REJECTED, atau RETURNED
menghasilkan notifikasi.
Lihat transaksi di akun Anda
Anda dapat melihat transaksi yang telah dilakukan melalui akun Anda dengan mengikuti langkah-langkah berikut:
Anda juga dapat melihat transaksi sandbox dengan menambahkan parameter kueri URL berikut:
myaccount.google.com/purchases?sandbox=1
Tips pemecahan masalah lainnya
Jika gejala di atas tidak menggambarkan masalah yang Anda hadapi, Anda mungkin
melihat log Stackdriver project Anda
untuk pemecahan masalah lebih lanjut. Anda juga dapat melihat setelan Akun Google Anda
untuk melihat dan mengelola pembelian apa pun yang telah dilakukan dengan Action Anda.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]