Order Details Template Message
The Payments API feature is available only for Indian businesses using the 360dialog WhatsApp Business API with phone numbers only from India. Review WhatsApp Business Compliance for India.
Payments API is now available to all Indian businesses. If the account is in high or medium tiers, admins or finance editors users will have direct access to the Payment Gateway page and can manage payment settings in Meta Business Manager. If you have any trouble using this feature, please reach out to our Support Team.
Overview
Order details message template is one of the interactive message template that extends the call-to-action button to support sending order details as template and provides richer experience, compared to the standard message templates.
Once your Order details message templates have been created and approved, you can use the approved template to send the template message with order or bill information to prompt them to make a payment.
Before sending an order details template message, businesses need to create a template with an “open order details” call-to-action button. See Utility Templates and refer to the Template documentation to create Templates through the API.
Creating an order details template from Meta Manager
To create an order details template, the business should use their Meta Business Manager within their WhatsApp Business Platform account. Once logged into a WhatsApp Platform account, they access the Message Templates
under WhatsApp Manager > Account tools
section and follow the below steps.
Click on
create template
Select
Utility
category to expandOrder details message
optionEnter the desired
template name
and supportedlocale
Depending on the number of
locales
selected there will be an equal number of template variants and businesses need to fill in the template details in respective locale.
Please fill in template components such as
Header
,Body
and optionalfooter
text and submit.Once submitted, templates will be categorized as per the guidelines and undergo the approval process, please refrain from having marketing content as part of template components.
The template will be approved or rejected after the template components are verified by the system.
Once approved template status will be changed to
ACTIVE
Please be informed that template's status can change automatically from
ACTIVE
toPAUSED
orDISABLED
based on customer feedback. We recommend that you monitor status changes and take appropriate actions whenever such change occurs
Sending order details template message
Order details template message allows the businesses to send invoice(order_details) message as predefined Open order details
call-to-action button component parameters. It supports businesses to send all payment integration (Payment Gateway or Payment Links) integration as button parameters.
To send an order details template message, make a POST
call to /messages
endpoint and attach a message object with type=template
. Then, add a template object with a predefined Open order details
call-to-action button.
For example following sample describes how to send order details template message parameters to prompt the consumer to make a payment.
If you are using On-Premise API, remember that it is being discontinued by Meta. No new signups will be allowed with this type of integration from May 15, 2024.
Numbers registered before this date will still be supported, but should start planning a change of hosting type as soon as possible.
Once the order details template message is delivered, a successful response will include an object with an identifier prefixed with wamid. Use the ID listed after wamid to track your message status.
Post order details template message flow
After the order details template message delivery the rest of the payment flow is the same as “Sending invoice in customer session window” and depends on the chosen payment integration order details parameters. For more details refer to Payment Gateway or Payment Links.
Last updated