I face a problem when i try to make a new PayIn. (I'm on Symfony 5 and I pass through a service)
I'm not able to receive an Id. I've tried to dump line by line. I gave to the method an userId, walletId and a cardId fresh registred.
But in my dump I don't receive the id for the payIn.
I don't really know where I'm going wrong because I do the same thing like the payment.php but on Symfony and controller/service.
And finally in my controller i'm just doing
Hi there , it's me again!
I face a problem when i try to make a new PayIn. (I'm on Symfony 5 and I pass through a service) I'm not able to receive an Id. I've tried to dump line by line. I gave to the method an userId, walletId and a cardId fresh registred. But in my dump I don't receive the id for the payIn.
This one return me a bad request because the Id is missing.
I don't really know where I'm going wrong because I do the same thing like the payment.php but on Symfony and controller/service. And finally in my controller i'm just doing
$service->createPayin($user , $cardId);
Can someone help us ?