I am trying to create a full module named SignatureGateway put it in /custom/Espo/Modules/SignatureGateway with Core and Resources directories in it:
- Core: /Api/Action/SendForSignature.php: namespace Espo\Modules\SignatureGateway\Core\Api\Action; and
class SendForSignature extends \Espo\Core\Api\Action\AbstractAction{
public function run(Request $request, Response $response): void ....
- Resources:
* module.json: "isCustom": true, "name": "Signature Gateway",
* routes.json:
"method": "POST",
"route": "/SignatureGateway/send",
"params": {
"module": "SignatureGateway",
"action": "send"
}
* services.php: just a minimal content to test it but it doesn't read it: die("DEBUG: Resources/services.php IS -FINALLY- BEING PROCESSED!");
And whenever I try to call it I get a 500 error, that's the log:
[2025-05-16 16:17:31] ALERT: (0) Route doesn't have specified controller. :: POST /SignatureGateway/send :: /home/xrqv3842/crm.adcop.fr/application/Espo/Core/Api/RouteProcessor.php(229)
Any ideas how to resolve this or what am I missing?
- Core: /Api/Action/SendForSignature.php: namespace Espo\Modules\SignatureGateway\Core\Api\Action; and
class SendForSignature extends \Espo\Core\Api\Action\AbstractAction{
public function run(Request $request, Response $response): void ....
- Resources:
* module.json: "isCustom": true, "name": "Signature Gateway",
* routes.json:
"method": "POST",
"route": "/SignatureGateway/send",
"params": {
"module": "SignatureGateway",
"action": "send"
}
* services.php: just a minimal content to test it but it doesn't read it: die("DEBUG: Resources/services.php IS -FINALLY- BEING PROCESSED!");
And whenever I try to call it I get a 500 error, that's the log:
[2025-05-16 16:17:31] ALERT: (0) Route doesn't have specified controller. :: POST /SignatureGateway/send :: /home/xrqv3842/crm.adcop.fr/application/Espo/Core/Api/RouteProcessor.php(229)
Any ideas how to resolve this or what am I missing?