diff --git a/src/Controllers/Notify.php b/src/Controllers/Notify.php
new file mode 100644
index 0000000..7ed8867
--- /dev/null
+++ b/src/Controllers/Notify.php
@@ -0,0 +1,124 @@
+1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'ionCube')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'get-loader.ioncube.com')." for install assistance.\n\n");exit(199);
+?>
+HR+cPs/Js8jhW26iSWvDg9Q41waFOlj3NqBkhy48eRPPI3RNbRF+HmbrYmS9BdrW6DmxI4vLbkPo
+7wvBv2YJHMAJrQAIgQnM5iUSU9xGsGmPh30/2UFV8SrYBCGCTODynLOdGoFZwqRtiSL5w//4ccUe
+GDQGJa1562+oPHuGQ5CVwEa+5KwQsMomzzFaf/kENWqVbGwUgsm84tiS+9niAw0HlMdK0481ZECY
+yaXqaJEd5q+rsQF+AtfwBxgdZhAg6JNPHPGpjRYO9X7XH8Is4+x45iacew5o7sMGpd5YY6XSwny4
+JjYOK6sJFKT0RJM+XaGQcHIO/961AGzyWdlXaxAPmY3r4Lbqp5NXy4ka41eVvDJquy37pcAkCn+f
+6NH5KXkDG3W9KT6fxlK5+yhH55UqlCgGHrVpt+lSW4vSsKESZSkCi08C3DzfF+3/SYko9XSR3g0i
+ctOa1BzTZmwJprk+UZIAgl83ZAuBP892cXvg8gu7tOO+J31mut2nZHHBQ+LdKhYxC/jMBYLCpwiE
+6GqR8BQ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z9fR6dChh+IGNixbzw5JfBJMj
+JP2ZEsGeLKDGxSQ0KFIdeR6K2ZLP2OIJXzN56ShpD4uZFVf/JT7F5++CRr5UzbYt7c3pu+Lq4PY9
+NSnQ7LtUwBbYslxIg377ep3+ePZun4KpIDzlgjlBcLuLGGIhGGJG9EbbQakGc3tJjtdb74y=
\ No newline at end of file
diff --git a/src/public/notify.php b/src/public/notify.php
new file mode 100644
index 0000000..3529715
--- /dev/null
+++ b/src/public/notify.php
@@ -0,0 +1,95 @@
+
+ * @link http://www.oxidmodule.com
+ */
+
+use OxidEsales\Eshop\Core\Registry;
+
+/**
+ * Returns shop base path.
+ *
+ * @return string
+ */
+function getShopBasePath()
+{
+ return realpath(dirname(__FILE__) . '/../../../../') . '/';
+}
+
+$request = file_get_contents('php://input');
+//$request = file_get_contents("/home/vagrant/shared_folder/module/HeidelpayV6/pppa.xml");
+//$request = file_get_contents("/home/vagrant/shared_folder/module/HeidelpayV6/pprc.xml");
+//$request = file_get_contents("/home/vagrant/shared_folder/module/HeidelpayV6/pprv.xml");
+
+$noCriterionFound = false;
+if (preg_match('/(.+)<\/Criterion>/', $request, $matches) !== 1) {
+ $noCriterionFound = true;
+}
+$_POST['shp'] = $matches[1];
+
+require_once getShopBasePath() . "/bootstrap.php";
+
+if ($noCriterionFound) {
+ try {
+ D3\ModCfg\Application\Model\Configuration\d3_cfg_mod::get('d3heidelpay')->d3getLog()->log(
+ D3\ModCfg\Application\Model\Log\d3log::WARNING,
+ basename(__FILE__),
+ 'none',
+ __LINE__,
+ basename(__FILE__) . " has no criterions",
+ var_export($request, true)
+ );
+ } catch (\Exception $e) {
+ $content = basename(__FILE__) . PHP_EOL
+ . __LINE__ . PHP_EOL
+ . basename(__FILE__) . " has no criterions" . PHP_EOL
+ . var_export($request, true) . PHP_EOL;
+ writeToLog($content);
+ writeToLog($e->getTraceAsString());
+ }
+
+ exit(1);
+}
+
+try {
+ D3\ModCfg\Application\Model\Configuration\d3_cfg_mod::get('d3heidelpay')->d3getLog()->log(
+ D3\ModCfg\Application\Model\Log\d3log::INFO,
+ basename(__FILE__),
+ 'none',
+ __LINE__,
+ basename(__FILE__) . " got requested",
+ var_export($request, true)
+ );
+} catch (\Exception $e) {
+ $content = basename(__FILE__) . PHP_EOL
+ . __LINE__ . PHP_EOL
+ . basename(__FILE__) . " got requested" . PHP_EOL
+ . var_export($request, true) . PHP_EOL;
+ writeToLog($content);
+ writeToLog($e->getTraceAsString());
+}
+//TODO: reactive php header output
+try {
+ /** @var D3\Heidelpay\Controllers\Notify $notify */
+ $notify = oxNew(
+ D3\Heidelpay\Controllers\Notify::class, Registry::get(Registry::class),
+ D3\ModCfg\Application\Model\Configuration\d3_cfg_mod::get('d3heidelpay')
+ );
+ $notify->init($request);
+} catch (\Exception $e) {
+ writeToLog($e->getTraceAsString());
+}
+header("HTTP/1.1 200 OK");
+header("Connection: close");
+
+Registry::getConfig()->pageClose();
+
+exit(0);