Closed martygraphy closed 4 years ago
Sorry it's my fault, I replaced if (false == $config['payum.api']) { with if (false == $config['payum.api']) { I close the ticket
The issue was weak vs strong equivalency -
if (false === $config['payum.api']) {
vs
if (false == $config['payum.api']) {
. The array-value is likely null at that point, but the code (existing gateway configs, and other skeleton/sample code) is old, written before stricter-type-safety was generally used).
Hi ! I encounter a problem when I want to create a custom paserelle on symgony 4.4
I created a skeleton in my application. I followed the whole installation process but I get this error when my CaptureAction class is called : Cannot find right api for the action App\Ogone\Action\CaptureAction
Moreover I am obliged to create this gateway by this way because the ETS Ogone payment bundle is not functional on Symfony 4.4.
composer.json
services.yml
payum.yml
OgoneGatewayFactory.php
BaseApiAwraeAction.php
CaptureAction.php
Api.php
What I don't understand is that payum detects my gateway when I run the command: bin/console debug:payum:gateway
But he doesn't detect my Api class, it detect only HttplugClient .
Do you have an idea about this problem ?
thank you in advance.