private function getTransactionHash(Request $request, $password, $transactionType)
{
$orderId = $this->formatOrderId($request->getOrderId());
$terminalId = $this->configuration->getTerminalId();
$cardNumber = $this->isCardNumberRequired($transactionType) ? $request->getCardNumber() : '';
$amount = $this->isAmountRequired($transactionType) ? $this->formatAmount($request->getAmount()) : '1';
$securityData = $this->getSecurityHash($password);
return strtoupper(sha1(sprintf('%s%s%s%s%s', $orderId, $terminalId, $cardNumber, $amount, $securityData)));
}