Let your customers know you accept payments with Affirm by including the Affirm messaging Element on your site. We suggest adding the messaging Element to your product, cart, and payment pages. The Affirm messaging Element takes care of:
- Calculating and displaying the installments amount
- Displaying the Affirm information modal
Include the Element
Customize the message
There are many options available to customize the appearance and contents of the messaging Element. See the API reference for the full list of options.
logoColor option to choose between the following styles:
Style with CSS
Additional configuration options allow you to use CSS to style the messaging to better fit the look and feel of your site. You can customize the
textAlign of the messaging:
Unified site messaging
The Unified Messaging Element allows you to use one modal to promote all your buy now, pay later methods from product, cart, and payment pages.