Troubleshooting physical transactions

If you're having trouble fulfilling transaction intents with your Action, see if you're experiencing any of the symptoms described in the following sections and take the recommended troubleshooting steps.

Action not responding

Symptom: When checking for transaction requirements or decision of the user, the user gets back a response of "App isn't responding at the moment. Try again soon."

Troubleshooting: Ensure your Action project has all the required directory information, including a privacy policy link.

Unable to process receipt

Symptom: During purchase authorization, the user gets a response saying "Sorry, I am unable to process your receipt."

Troubleshooting:

  • Make sure your merchantOrderId is unique. A new order can't be placed with a previous, existing order ID.
  • Make sure you're sending a simple response alongside the initial orderUpdate; this is the mandatory response format.

Unable to send order updates

Symptom: When sending an order update for an existing order, the Orders API responds with error code 500 and the following error message: "Order OrderID for project ProjectID could not be updated. Please try again."

Troubleshooting:

Order updates not appearing as notifications

Symptom: Initial order is placed and follow-up order updates succeed with status code 200 but don't appear as push notifications on the user's Assistant-enabled device.

Troubleshooting: Not all order updates will be reflected as a push notification; only updates with a status of CANCELLED, FULFILLED, REJECTED, or RETURNED result in a notification.

View transactions on your account

You can view transactions that have been made through your account by following these steps:

  1. Navigate to myaccount.google.com and log in.
  2. Click Payments & subscriptions in the left menu.
  3. Under Purchases, click Manage purchases.

You can also view sandbox transactions by adding the following URL query parameter:

myaccount.google.com/purchases?sandbox=1

Other troubleshooting tips

If the above symptoms don't describe the problem you're running into, you may want to refer to your project's Stackdriver logs for further troubleshooting. You can also refer to your Google Account settings to view and manage any purchases you've made with your Action.