protected function updateExchangeRate(PaymentInterface $payment)
    {
        if (null !== $payment->getExchangeRate()) {
            return false;
        }

        $date = new \DateTime();

        $rate = $this->currencyConverter->getRate(
            $this->currencyConverter->getDefaultCurrency(),
            $payment->getCurrency()->getCode(),
            $date
        );

        $payment
            ->setExchangeRate($rate)
            ->setExchangeDate($date);

        return true;
    }