From a7677e720f93f649981092865f01b6cbfc9b0e8b Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Sat, 10 Apr 2021 21:07:18 +0200 Subject: [PATCH] add comment to README about the Middleware as a replacement for the eID parameter in your payment extensions --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index cb7bd4e..8501e11 100755 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ The extension transactor has the purpose to enable online payments connecting to various gateways. +You must configure it in the Extension Configuration of the Settings backend module. +Set the compatibility mode (basic.compatibility) to 0 for the new API. +Older extension versions might need the old API and a 1 here. + + +Since version 0.9.0 the transactor extension contains a middleware, which payment extensions can use for a gateway instant message after the payment. + +Use the transactor parameter as +transactor=mygateway +in the backend url to your payment extension page. + +Your extension`s ext_localconf.php file must configure the middleware in TYPO3 10+: + + $GLOBALS['TYPO3_CONF_VARS']['FE']['transactor_include']['mygateway'] = \Foo\Bar\Controller\ServerResponseController::class . '::processRequest'; + +Then your class ServerResponseController can receive the calls from the instant messages from your gateway. + +