This commit is contained in:
Cyprian Beauvois 2019-07-16 15:23:06 +02:00
parent ecedac95ea
commit a80d52d8ee
2 changed files with 1 additions and 9 deletions

View File

@ -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');

View File

@ -1,8 +0,0 @@
<?php
namespace Bluesquare\BillingBundle\Service;
class PaymentSrv
{
}