From a80d52d8eee25a3a78d6a3131d838c89a4645a89 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Tue, 16 Jul 2019 15:23:06 +0200 Subject: [PATCH] dev push --- BillingBundle/Controller/BillingController.php | 2 +- BillingBundle/Service.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 BillingBundle/Service.php diff --git a/BillingBundle/Controller/BillingController.php b/BillingBundle/Controller/BillingController.php index 1f14d48..669d077 100644 --- a/BillingBundle/Controller/BillingController.php +++ b/BillingBundle/Controller/BillingController.php @@ -8,7 +8,7 @@ class BillingController extends AbstractController { public function webhook() { - \Stripe\Stripe::setApiKey($this->container->get('stripe_api_key_secret')); + \Stripe\Stripe::setApiKey($this->getParameter('stripe_api_key_secret')); // You can find your endpoint's secret in your webhook settings $endpoint_secret = $this->container->get('stripe_webhook_key'); diff --git a/BillingBundle/Service.php b/BillingBundle/Service.php deleted file mode 100644 index 02a0986..0000000 --- a/BillingBundle/Service.php +++ /dev/null @@ -1,8 +0,0 @@ -