Dialogflow es 谷歌行动中的错误响应

Dialogflow es 谷歌行动中的错误响应,dialogflow-es,actions-on-google,Dialogflow Es,Actions On Google,正在尝试构建事务性Google Assistant应用程序,并将请求对象框定为以下内容: { "@type": "type.googleapis.com/google.actions.v2.TransactionDecisionValueSpec", "orderOptions": { "requestDeliveryAddress": false }, "paymentOptions": { "googleProvidedOptions": { "p

正在尝试构建事务性Google Assistant应用程序,并将请求对象框定为以下内容:

{
  "@type": "type.googleapis.com/google.actions.v2.TransactionDecisionValueSpec",
  "orderOptions": {
    "requestDeliveryAddress": false
  },
  "paymentOptions": {
    "googleProvidedOptions": {
      "prepaidCardDisallowed": false,
      "supportedCardNetworks": ["VISA", "AMEX", "DISCOVER", "MASTERCARD"],
      "tokenizationParameters": {
        "tokenizationType": "PAYMENT_GATEWAY",
        "parameters": {
          "gateway": "stripe",
          "stripe:publishableKey": "pk_live_KEY",
          "stripe:version": "2019-05-16"
        }
      }
    }
  },
  "proposedOrder": {
    "createTime": "2019-08-11T12:18:36-04:00",
    "lastUpdateTime": "2019-08-11T12:18:36-04:00",
    "merchantOrderId": "248276353077",
    "userVisibleOrderId": "248276353077",
    "transactionMerchant": {
      "id": "shopifystore.myshopify.com",
      "name": "Shoe Store"
    },
    "contents": {
      "lineItems": [{
        "name": "Amla Shots",
        "id": "29051889385525",
        "priceAttributes": {
          "type": "REGULAR",
          "name": "Item Price",
          "amount": {
            "currencyCode": "USD",
            "amountInMicros": "5000000"
          },
          "state": "ACTUAL",
          "taxIncluded": false
        },
        "purchase": {
          "quantity": "1"
        },
        "description": ""
      }, {
        "name": "Amla Shots",
        "id": "29051889418293",
        "priceAttributes": {
          "type": "REGULAR",
          "name": "Item Price",
          "amount": {
            "currencyCode": "USD",
            "amountInMicros": "10000000"
          },
          "state": "ACTUAL",
          "taxIncluded": false
        },
        "purchase": {
          "quantity": "1"
        },
        "description": ""
      }]
    },
    "buyerInfo": {
      "email": "123@gmail.com",
      "firstName": "123",
      "lastName": "123",
      "displayName": "123 123"
    },
    "priceAttributes": [{
      "type": "TOTAL",
      "name": "Total Price",
      "state": "ESTIMATE",
      "amount": {
        "currencyCode": "USD",
        "amountInMicros": "15990000"
      },
      "taxIncluded": true
    }, {
      "type": "TAX",
      "name": "Tax",
      "state": "ESTIMATE",
      "amount": {
        "currencyCode": "USD",
        "amountInMicros": "990000"
      },
      "taxIncluded": true
    }, {
      "type": "SUBTOTAL",
      "name": "Subtotal",
      "state": "ESTIMATE",
      "amount": {
        "currencyCode": "USD",
        "amountInMicros": "15000000"
      }
    }],
    "termsOfServiceUrl": "https://example.com",
    "note": "Powered by Example"
  }
}
显示的错误消息:

格式错误的响应:无法将Dialogflow响应解析为 由于平台响应无效,AppResponse:尝试分析数据 来自系统意图,但失败

JSON中哪里有错误?

{
{
  "payload": {
    "google": {
      "expectUserResponse": true,
      "systemIntent": {
        "intent": "actions.intent.TRANSACTION_DECISION",
        "data": {
              <add your above JSON here>
          }
        }
      }
    }
  }
}
“有效载荷”:{ “谷歌”:{ “expectUserResponse”:正确, “系统意图”:{ “意图”:“动作.意图.交易决定”, “数据”:{                     }         }       }     }   } }
{
“有效载荷”:{
“谷歌”:{
“expectUserResponse”:正确,
“系统意图”:{
“意图”:“动作.意图.交易决定”,
“数据”:{
              
          }
        }
      }
    }
  }
}

感谢您的回复,但我还无法理解。您是否面临同样的问题?感谢您的回复,但我还无法理解。您是否面临同样的问题?