Google 德语交易导致 "Sorry, I didn't get any response."

Google Transaction in German leads to "Sorry, I didn't get any response."

我创建了 https://github.com/actions-on-google/dialogflow-transactions-nodejs 的纯德语示例。 当我通过 phone(或网络模拟器)触发操作并进入第一步 "transaction_check_nopayment" 我在日志中看到调用了该方法但在客户端中我得到响应:"Sorry, I didn't get any response." 可能是什么问题呢?如何更接近问题?

这是日志:

2018-01-08T08:03:20.685Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug checkForTransactionRequirements: transactionConfig=undefined, dialogState=undefined
2018-01-08T08:03:20.685Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug fulfillSystemIntent_: intent=actions.intent.TRANSACTION_REQUIREMENTS_CHECK, specType=type.googleapis.com/google.actions.v2.TransactionRequirementsCheckSpec, intentSpec={}, promptPlaceholder=PLACEHOLDER_FOR_TXN_REQUIREMENTS dialogState=undefined
2018-01-08T08:03:20.685Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug buildResponse_: textToSpeech=PLACEHOLDER_FOR_TXN_REQUIREMENTS, expectUserResponse=true, noInputs=undefined
2018-01-08T08:03:20.686Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug isSsml_: text=PLACEHOLDER_FOR_TXN_REQUIREMENTS
2018-01-08T08:03:20.690Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug getUser
2018-01-08T08:03:20.691Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug doResponse_: response={"speech":"PLACEHOLDER_FOR_TXN_REQUIREMENTS","contextOut":[{"name":"_actions_on_google_","lifespan":100,"parameters":{}}],"data":{"google":{"expectUserResponse":true,"noInputPrompts":[],"isSsml":false,"systemIntent":{"intent":"actions.intent.TRANSACTION_REQUIREMENTS_CHECK","data":{"@type":"type.googleapis.com/google.actions.v2.TransactionRequirementsCheckSpec"}}}}}, responseCode=200
2018-01-08T08:03:20.691Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug isNotApiVersionOne_
2018-01-08T08:03:20.691Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug Response {"speech":"PLACEHOLDER_FOR_TXN_REQUIREMENTS","contextOut":[{"name":"_actions_on_google_","lifespan":100,"parameters":{}}],"data":{"google":{"expectUserResponse":true,"noInputPrompts":[],"isSsml":false,"systemIntent":{"intent":"actions.intent.TRANSACTION_REQUIREMENTS_CHECK","data":{"@type":"type.googleapis.com/google.actions.v2.TransactionRequirementsCheckSpec"}}}}}
2018-01-08T08:03:20.693712230Z D transactions: Function execution took 627 ms, finished with status code: 200
2018-01-08T08:03:20.698Z I transactions: Mon, 08 Jan 2018 08:03:20 GMT actions-on-google:debug undefined

当我比较此步骤的有效英语版本和无效德语版本的日志时,我发现了不同之处: 在英文日志中,每一行都以 "transactions hyd4scvzft31" 结尾。我在德语日志中错过了这一部分。 但是,在我的德语应用程序的配置中,我也回答 "Does your app perform Transactions?" 是。

在 transaction_check_nopayment 的例子中 app.askForTransactionRequirements() 被调用。德语可能不支持 askForTransactionRequirements() 吗?是否有 transaction-API 的概述记录了支持的语言?交易 API 是否适用于德国用例?作为付款方式,我有发票。当我理解文档时,这就像在 google-API 中没有付款一样。

隐藏在 Policies and Terms > Other > Special Requirements for Certain Use Cases、Google 状态下 'Currently, the Transactions API is only available in the United States; apps in other countries cannot implement the API or complete transactions until the API is available there.'

Source