Skip to content

Commerce Settings flow UI/UX

Displaying Commerce Settings screen

This feature is responsible for displaying and updating the Phone Number, Licence Plate and Payment method.

The phone number and license plate are populated with data from the UMS. The Payment method containing the last four digits on the credit card and the card type is saved in local shared preferences.

Editing the Commerce Settings

Commerce Settings screen is responsible for displaying the Phone Number, Licence Plate and Payment method details. The user can also open the editing screen for each one of them.

Edit the Commerce Settings

When the user selects one of the settings, the editing screen is opened.

Add phone number

When a phone number is added, the update data method from the UMS is called.

Add license plate

When the license plate is added, the update data method from the UMS is called.

Add payment method

When the payment method is added, the add payment api from the external payment provider is called.

Removing the settings

Pressing Remove calls:

  • UMS for updating phone number and license plate
  • external payment provider for updating the payment method

The user is notified if the settings are successfully updated or not.