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); }/> Copy
<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); }/>
JSX.Element
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
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.
Example