Messaging with buttons
Last updated: Oct 30th, 7:00am
Integrate messaging directly with your buttons to promote Pay Later offers and other PayPal value propositions to your customers. Adding messaging can help improve conversion and attract new customers.
Know before you code
Prerequisites
This feature modifies an existing checkout integration and uses the following:
Explore PayPal APIs with Postman
You can use Postman to explore and test PayPal APIs. Learn more in our Postman guide.
2
Update the message amount
As the product count or cart total changes, you can update the message.amount
to reflect the latest total.
1buttons.updateProps({2 message: {3 amount: 200, // Update to your cart or product total amount4 align: 'center',5 color: 'black',6 }7});
3
Complete your integration
Return to the Set up standard payments guide to create and capture the order.