protected function getStripeScript() { $currency = $this->paymentBridgeInterface->getCurrency(); return $this->templating->render('StripeBundle:Stripe:scripts.html.twig', ['public_key' => $this->publicKey, 'currency' => $currency]); }