Use webhook secrets to validate
This commit is contained in:
@ -44,9 +44,8 @@ return [
|
||||
'externalPaths' => [
|
||||
'/api/external' => [
|
||||
'/toku/success' => [
|
||||
'validator' => Incoviba\Service\Venta\MediosPago\Toku::class,
|
||||
'validator' => $container->get(Incoviba\Service\Venta\MediosPago\Toku::class),
|
||||
'token' => $container->get('TOKU_TOKEN'),
|
||||
'secret' => $container->get('TOKU_WEBHOOK_SECRET'),
|
||||
]
|
||||
],
|
||||
]
|
||||
|
Reference in New Issue
Block a user