AI resources

Payment visual customizations

Configure the appearance of Payment’s selector and screens through MPCheckoutAppearance before building checkout. sellerInfo provides the store name and logo; it does not replace theme tokens.

Provide light and dark themes

These examples use the same palette in both slots and do not implement a complete dark theme. The default configuration also uses the light palette in both slots; selecting dark mode does not create a new palette.

  • Android: supply complete MercadoPagoThemeProvider.Default providers with all six categories in lightTheme and darkTheme.
  • iOS: supply complete MPTheme implementations in theme: .init(light: lightTheme, dark: darkTheme), including buttons and textFields.

Validate appearance

Check applicable selector, new card, CVV, installment, review, result and fallback screens. Test contrast, long text, system font sizes, disabled states, and light and dark modes. Configure tokens before building checkout. These tokens do not configure business data or text returned by the backend.

Return to Payment integration to build and present checkout.