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 @@ -