diff --git a/src/Plugin/Commerce/PaymentGateway/CmcicPaymentGateway.php b/src/Plugin/Commerce/PaymentGateway/CmcicPaymentGateway.php
index 40663e2..9f6e2f8 100644
--- a/src/Plugin/Commerce/PaymentGateway/CmcicPaymentGateway.php
+++ b/src/Plugin/Commerce/PaymentGateway/CmcicPaymentGateway.php
@@ -35,7 +35,7 @@ class CmcicPaymentGateway extends OffsitePaymentGatewayBase {
       '#type' => 'textfield',
       '#title' => $this->t('TPE number'),
       '#description' => $this->t('The TPE number of your CM-CIC account on 7 characters (eg. 1234567).'),
-      '#default_value' => $this->configuration['tpe'],
+      '#default_value' => isset($this->configuration['tpe']) ? $this->configuration['tpe'] : '',
       '#required' => TRUE,
     ];
 
@@ -43,7 +43,7 @@ class CmcicPaymentGateway extends OffsitePaymentGatewayBase {
       '#type' => 'textfield',
       '#title' => $this->t('Company number'),
       '#description' => $this->t('The company number of your CM-CIC account.'),
-      '#default_value' => $this->configuration['company'],
+      '#default_value' => isset($this->configuration['company']) ? $this->configuration['company'] : '',
       '#required' => TRUE,
     ];
 
@@ -51,7 +51,7 @@ class CmcicPaymentGateway extends OffsitePaymentGatewayBase {
       '#type' => 'textfield',
       '#title' => $this->t('Security key'),
       '#description' => $this->t('The security key based on 40 characters.'),
-      '#default_value' => $this->configuration['security_key'],
+      '#default_value' => isset($this->configuration['security_key']) ? $this->configuration['security_key'] : '',
       '#required' => TRUE,
     ];
 
@@ -65,7 +65,7 @@ class CmcicPaymentGateway extends OffsitePaymentGatewayBase {
         'obc' => $this->t('OBC'),
         'monetico' => $this->t('Monetico')
       ),
-      '#default_value' => $this->configuration['bank_type'],
+      '#default_value' => isset($this->configuration['bank_type']) ? $this->configuration['bank_type'] : '',
       '#required' => TRUE,
     ];
 
