function __construct(Container $container)
 {
     $parameters = $container->getParameter('lp_web_payment');
     parent::__construct($container, $parameters);
     $this->clientId = $parameters['paypal']['client_id'];
     $this->clientSecret = $parameters['paypal']['client_secret'];
     $this->itemList = new ItemList();
 }
Exemple #2
0
 function __construct(Container $container)
 {
     $parameters = $container->getParameter('lp_web_payment');
     parent::__construct($container, $parameters);
     $this->businessMail = $parameters['paypal']['business_mail'];
 }