hello rasa friend i have a issue about the receipt template in messenger, see. i want to show the receipt for a purchase mady by the constumer, the problem is when i saw in the rasa cmd the message appear sended but in messenger dont show
so i need a functional example for search mi mistake and try to upload
below the json archive for the receipt template:
receipt = {
"message": {
"attachment": {
"type": "template",
"payload": {
"template_type": "receipt",
"recipient_name": "Stephane Crozatier",
"order_number": "12345678902",
"currency": "USD",
"payment_method": "Visa 2345",
"timestamp": "1428444852",
"address": {
"street_1": "1 Hacker Way",
"street_2": "",
"city": "Menlo Park",
"postal_code": "94025",
"state": "CA",
"country": "US"
},
"summary": {
"subtotal": 75.0,
"shipping_cost": 4.95,
"total_tax": 6.19,
"total_cost": 56.14
},
"elements": [
{
"title": "Classic White T-Shirt",
"subtitle": "100% Soft and Luxurious Cotton",
"quantity": 2,
"price": 50,
"currency": "USD"
},
{
"title": "Classic Gray T-Shirt",
"subtitle": "100% Soft and Luxurious Cotton",
"quantity": 1,
"price": 25,
"currency": "USD"
}
]
}
} }}
´´´
regards :wink: