From ed15e47555fd344cb9ea45ce1912b3596d82c6c4 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Tue, 16 Jul 2019 16:01:21 +0200 Subject: [PATCH] add debug to try/catch block Controller --- BillingBundle/Controller/BillingController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BillingBundle/Controller/BillingController.php b/BillingBundle/Controller/BillingController.php index a5df828..c6214a8 100644 --- a/BillingBundle/Controller/BillingController.php +++ b/BillingBundle/Controller/BillingController.php @@ -10,7 +10,7 @@ class BillingController extends AbstractController { \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'); $sig_header = $_SERVER['HTTP_STRIPE_SIGNATURE'];