Function PaymentMethodMessagingElement

This feature is in Public Preview. It may not be feature complete and have breaking changes as we develop and update functionality. Payment Method Messaging Element to display promotional information about available BNPL plans.

<PaymentMethodMessagingElement
appearance={{
style: Style.Dark,
textColor: '#FFFFFF',
infoIconColor: '#CCCCCC',
font: {
family: 'Courier',
size: 16,
},
}}
configuration={{
currencyCode: 'usd',
amount: 5000,
countryCode: 'US',
}}
onStateChange={(event) => {
console.log('PMME loaded with result:', event);
}
/>