Elcodi\Plugin\StripeBundle\EventListener\PaymentCollectEventListener::getStripeScript PHP Метод

getStripeScript() защищенный Метод

Return stripe script
protected getStripeScript ( ) : string
Результат string Stripe script
    protected function getStripeScript()
    {
        $currency = $this->paymentBridgeInterface->getCurrency();
        return $this->templating->render('StripeBundle:Stripe:scripts.html.twig', ['public_key' => $this->publicKey, 'currency' => $currency]);
    }