Whatsapp Template Button Payload

Undefined Dev
edited November 2021 in WhatsApp API

Hi! I was wondering if there's any way to customize the payload on the template's quick reply buttons, since I'm trying to associate messages related to a certain buy order, and it would be great if I could load the buy order id on that payload. I have my own classes for Whatsapp messages and media, and I'm saving them just in case, but I need to associate them to a buy order. When sending the template it's easy to save it with the buy order(when someone buys something, it triggers a whatsapp message to confirm the buy) but when the quick reply comes I have no way of knowing to what message it is replying or what buy order it's confirming, so I can't neither confirm the buy nor save that message since I don't know to what buy order it corresponds

Is there any way to customize the button payload? or any other solution to my problem?

I'm using the framework Symfony 3.4 (PHP) by the way.

Tagged:
If this is an emergency, please contact Twilio Support. This is not an official Support channel. https://support.twilio.com/
Have an urgent question?
Please contact Twilio Support. This is not an official Support channel.
Contact Support