private function logRequest(\Psr\Log\LoggerInterface $logger, $requestUrl, $params)
	{
		// log the requestUr, params and json request
		$logger->info("Request url to Adyen: " . $requestUrl);
		if (isset($params["additionalData"]) && isset($params["additionalData"]["card.encrypted.json"])) {
			$params["additionalData"]["card.encrypted.json"] = "*";
		}
		if (isset($params["card"]) && isset($params["card"]["number"])) {
			$params["card"]["number"] = "*";
			$params["card"]["cvc"] = "*";
		}
		$logger->info('JSON Request to Adyen:' . json_encode($params));
	}