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);
}
/>

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.