mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Replace undefined request->get with existing request->query->get
This commit is contained in:
parent
9153480244
commit
2552933b05
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ final class PayumAfterPayResponseProvider implements AfterPayResponseProviderInt
|
|||
public function supports(RequestConfiguration $requestConfiguration): bool
|
||||
{
|
||||
$request = $requestConfiguration->getRequest();
|
||||
$hash = $request->attributes->get('payum_token', $request->get('payum_token', false));
|
||||
$hash = $request->attributes->get('payum_token', $request->query->get('payum_token', $request->request->get('payum_token', false)));
|
||||
|
||||
return false !== $hash;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue