• This screen was designed to let users add a credit card to their payment methods or choose their primary one.

  • File Location

    • src/screens/PaymentMethodModule/CreditCardSettings/CreditCardSettings.js
      ![Simulator Screen Shot - iPhone 12 - 2021-10-20 at 18.08.33.png](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c702743b-1e56-4410-8eb5-cba95904fbbb/Simulator_Screen_Shot_-_iPhone_12_-_2021-10-20_at_18.08.33.png>)
    
  • Data

    • If you’d like to change data present on this screen, please locate the following file

      • src/screens/PaymentMethodModule/CreditCardSettings/CreditCardSettings.js
    • locate the creditCards array to change the list displayed.

      [
        {
          id: 0,
          isActive: true,
          component: (
            <SquareGenericInputField
              rightIconComponent={<CreditCard />}
              rightIconPaddingLeft={23}
              rightIconPaddingRight={23}
              placeholder="**** **** **** 5024"
              keyboardType={'number-pad'}
              type={SQUARE_TEXTFIELD_TYPE.TEXT}
              cardValidation={true}
              maxLength={19}
              isDisabled={true}
            />
          ),
          title: 'SET AS PRIMARY',
        },
      	...
      ]