Example #1
0
 /**
  * Returns the value for the given configuration key
  *
  * @param string $key Configuration key name
  * @param mixed $default Default value if no configuration is found
  * @return mixed Configuration value
  */
 protected function getValue($key, $default = null)
 {
     switch ($key) {
         case 'type':
             return 'AuthorizeNet_SIM';
     }
     return parent::getValue($key, $default);
 }
Example #2
0
 /**
  * Returns the value for the given configuration key
  *
  * @param string $key Configuration key name
  * @param mixed $default Default value if no configuration is found
  * @return mixed Configuration value
  */
 protected function getValue($key, $default = null)
 {
     switch ($key) {
         case 'type':
             return 'Mollie';
     }
     return parent::getValue($key, $default);
 }
Example #3
0
 /**
  * Returns the value for the given configuration key
  *
  * @param string $key Configuration key name
  * @param mixed $default Default value if no configuration is found
  * @return mixed Configuration value
  */
 protected function getValue($key, $default = null)
 {
     switch ($key) {
         case 'type':
             return 'CardSave';
         case 'onsite':
             return true;
     }
     return parent::getValue($key, $default);
 }