public function createTransaction(PaylandsMethod $paymentMethod)
    {
        $paymentOrder = $this->client->createPayment(
            $paymentMethod->getCustomerExternalId(),
            $this->paymentBridge->getAmount(),
            (string)$this->paymentBridge->getOrder(),
            $this->currencyServiceResolver->getService()
        );

        $transaction = $this->client->directPayment(
            $this->requestStack->getMasterRequest()->getClientIp(),
            $paymentOrder['order']['uuid'],
            $paymentMethod->getCardUuid()
        );

        $paymentMethod
            ->setPaymentStatus($transaction['order']['paid'] ? PaylandsMethod::STATUS_OK : PaylandsMethod::STATUS_KO)
            ->setPaymentResult($transaction);
    }