public static function getCurrentVersion()
    {
        $aVersions = (array)self::_getConfig()->getConfigParam('aModuleVersions');

        $aPossibleModuleNames = array(
            'jagAmazonPayment4Oxid',
            'bestitAmazonPay4Oxid'
        );

        foreach ($aPossibleModuleNames as $sPossibleModuleName) {
            if (isset($aVersions[$sPossibleModuleName]) === true) {
                return $aVersions[$sPossibleModuleName];
            } elseif (isset($aVersions[strtolower($sPossibleModuleName)]) === true) {
                return $aVersions[strtolower($sPossibleModuleName)];
            }
        }

        return null;
    }