PayumLaravelPackage icon indicating copy to clipboard operation
PayumLaravelPackage copied to clipboard

Notify Controller doUnsafeAction doesn't resolve gateway name parameter

Open ilCleme opened this issue 3 years ago • 0 comments

As route payum_notify_do_unsafe describe, this controller should recieve a gateway_name parameter, to retrive the right gateway from payum. Instead this method receive a Request object and cannot get the right parameter.

The test can be done easily, call route('payum_notify_do_unsafe', ['gateway_name' => 'gateway-test']) via HTTP, throws a InvalidArgumentException with messagge Gateway "" does not exist. instead of Gateway "gateway-test" does not exist.

The PR #54 fix the issue.

ilCleme avatar Dec 14 '20 07:12 ilCleme