public function getPaymentModuleInstance()
    {
        if (null === $paymentModule = ModuleQuery::create()->findPk($this->getPaymentModuleId())) {
            throw new TheliaProcessException("Payment module ID=" . $this->getPaymentModuleId() . " was not found.");
        }

        return $paymentModule->createInstance();
    }