$form['pkey'] = [
      '#type' => 'textfield',
      '#title' => $this->t('Merchant Key'),
      '#default_value' => $pkey,
      '#description' => $this->t('Use "gtKFFx" as Test Key'),
      '#required' => TRUE,
    ];
    $form['psalt'] = [
      '#type' => 'textfield',
      '#title' => $this->t('Merchant Salt'),
      '#default_value' => $psalt,
      '#description' => $this->t('Use "eCwWELxi" as Test Salt'),
      '#required' => TRUE,
    ];
    $form['profile'] = [
      '#type' => 'select',
      '#title' => $this->t('Default Profile'),
      '#default_value' => isset($profile) ? $profile : '',
      '#options' => $profiles,
      '#description' => $this->t('Use machine name of profile.'),
      '#required' => TRUE,
    ];
    $form['pmode'] = [
      '#type' => 'hidden',
      '#title' => $this->t('Mode'),
      '#default_value' => $this->getMode(),
    ];

Each of these settings needs a matching entry in defaultConfiguration() and in the config schema YAML file.

CommentFileSizeAuthor
#3 incomplete-2862176-3.patch557 bytesgopagoninarsing

Comments

bojanz created an issue. See original summary.

gopagoninarsing’s picture

Assigned: Unassigned » gopagoninarsing

Am working on it.

gopagoninarsing’s picture

StatusFileSize
new557 bytes

Added patch for default Configuration.

gopagoninarsing’s picture

Status: Active » Needs review
sudishth’s picture

Status: Needs review » Reviewed & tested by the community

#3 is working for me

visabhishek’s picture

Status: Reviewed & tested by the community » Fixed

Thanks gopagoninarsing and sudishth.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.