Include your messaging options to the buttons configuration object. Learn more about the full list of available options by reviewing the JavaScript SDK reference page. To display the strongest message to the customer, use message.amount
with the current total based on the product or cart.
Note: The message.amount
option functions independently from the captured order total and has no impact on it.