/**
  * Creates an instance of the paymentProcessor class. This class from the paymill lib allows easier access to most
  * calls used during the payment process.
  *
  * @param array $params
  * @param string  $processId
  */
 public function __construct($params, $processId)
 {
     $swConfig = Shopware()->Plugins()->Frontend()->PaymPaymentCreditcard()->Config();
     $privateKey = trim($swConfig->get("privateKey"));
     $apiUrl = "https://api.paymill.com/v2/";
     $source = Shopware()->Plugins()->Frontend()->PaymPaymentCreditcard()->getVersion();
     $source .= "_shopware";
     $source .= "_" . Shopware()->Config()->get('version');
     $this->setSource($source);
     $loggingManager = new Shopware_Plugins_Frontend_PaymPaymentCreditcard_Components_LoggingManager();
     $loggingManager->setProcessId($processId);
     parent::__construct($privateKey, $apiUrl, null, $params, $loggingManager);
 }