Exemplo n.º 1
0
 /**
  * Sets plugin parameters specific to given extension name (if extension have its own configuration)
  *
  * @param   string  $extensionName  Name of the extension
  * @param   string  $ownerName      Name of the owner
  *
  * @return void
  */
 protected function setRedpaymentOptions($extensionName, $ownerName)
 {
     $pluginOptions = RApiPaymentHelper::getPaymentParams($this->paymentName, $extensionName, $ownerName);
     $this->paymentHelper->pluginEnabled = (bool) $pluginOptions->state;
     $this->paymentHelper->params = $pluginOptions->params;
 }