public function __construct($customerId, $shopId, $language, $returnUrl, $secret) { $this->_setField(self::$RETURN_URL, $returnUrl); //for fingerprint calculation there must be at least an empty javascriptScriptVersion $this->_setField(self::$JAVASCRIPT_SCRIPT_VERSION, ''); $this->_setSecret($secret); parent::__construct($customerId, $shopId, $language); }
/** * abstract constructor for WirecardCEE_Client_QPay_Request_Initiation objects. * @param string $customerId * @param string $secret * @param string $language * @param string $pluginVersion * @param string $shopId * @param string[]|null $config */ public function __construct($customerId, $shopId, $secret, $language, $pluginVersion) { $this->_setField(self::$PLUGIN_VERSION, $pluginVersion); $this->_setSecret($secret); parent::__construct($customerId, $shopId, $language); }
public function __construct($customerId, $shopId, $secret) { $language = 'en'; $this->_setSecret($secret); parent::__construct($customerId, $shopId, $language); }