diff --git a/lib/OpenPayU/Configuration.php b/lib/OpenPayU/Configuration.php
index <HASH>..<HASH> 100644
--- a/lib/OpenPayU/Configuration.php
+++ b/lib/OpenPayU/Configuration.php
@@ -297,6 +297,6 @@ class OpenPayU_Configuration
      */
     private static function getComposerFilePath()
     {
-        return '../../'.self::COMPOSER_JSON;
+        return realpath(dirname(__FILE__)) .'../../'.self::COMPOSER_JSON;
     }
 }
\ No newline at end of file
Fixed paths for Composer.json