Open parth26297 opened 4 years ago
I am creating custom payload for receipt as follows:
const payload = { template_type: 'receipt', recipient_name: 'John Doe', order_number: '12345678902', currency: 'USD', payment_method: 'Visa 2345', order_url: 'http://petersapparel.parseapp.com/order?order_id=123456', timestamp: '1428444852', address: { street_1: '1 Hacker Way', street_2: '', city: 'Menlo Park', postal_code: '94025', state: 'CA', country: 'US' }, summary: { total_cost: 12.8 }, adjustments: [], elements: [ { title: 'Caffe Latte', subtitle: 'small', quantity: 1, price: '12.80', currency: 'USD', image_url: "imageurl" } ] };
And sending it using dialogflow WehookClient as follows:
agent.add(new Payload(agent.FACEBOOK, {attachment: {type: "template", payload}}, { rawPayload: false, sendAsMessage: true }));
I am not getting any fulfillment response in the response.
What am I missing?
PS. I am using inline editor
Same here. Is anybody maintaining this???
Seems dialogflow-fulfillment-nodejs is dead
RIP
the same here any updates
I am creating custom payload for receipt as follows:
And sending it using dialogflow WehookClient as follows:
I am not getting any fulfillment response in the response.
What am I missing?
PS. I am using inline editor