add debug to try/catch block Controller

This commit is contained in:
Cyprian Beauvois 2019-07-16 16:01:21 +02:00
parent eac5a76a30
commit ed15e47555
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class BillingController extends AbstractController
{ {
\Stripe\Stripe::setApiKey($this->getParameter('stripe_api_key_secret')); \Stripe\Stripe::setApiKey($this->getParameter('stripe_api_key_secret'));
$endpoint_secret = $this->container->get('stripe_webhook_key'); $endpoint_secret = $this->getParameter('stripe_webhook_key');
$payload = @file_get_contents('php://input'); $payload = @file_get_contents('php://input');
$sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE']; $sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];