Skip to content

Module UI Customization

Ugljesa Jovanovic edited this page Jun 18, 2019 · 4 revisions

WORK IN PROGRESS

Many applications have their own specific design paradigms. Therefore the SDK allows some level of customization for the provided user interface.

The following options are supported (see also PaymentMethodUIConfiguration):

  • backgroundColor
  • textColor
  • buttonColor
  • buttonDisabledColor
  • mediumEmphasisColor
  • cellBackgroundColor
  • buttonTextColor
  • errorMessageColor (modifies the background color of alert banners as well as the color with which field errors are displayed)
  • errorMessageTextColor (modifies the text color on alert banners)

To apply the UI configuration, use the configureUI method on PaymentSDK like so:

Clone this wiki locally