feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
157 changed files with 573 additions and 5436 deletions
Showing only changes of commit 9aeb6906f6 - Show all commits

View File

@ -108,6 +108,10 @@ class Toku extends Controller
public function reset(ServerRequestInterface $request, ResponseInterface $response,
Service\Venta\MediosPago\Toku $tokuService, ContainerInterface $container): ResponseInterface
{
$this->logger->warning('Toku reset', [
'token' => $container->get('TOKU_TOKEN'),
'is_sandbox' => strtolower($container->get('TOKU_ENV')) === 'sandbox'
]);
if (!$container->has('TOKU_ENV') or strtolower($container->get('TOKU_ENV')) !== 'sandbox') {
return $this->withJson($response);
}