var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/59/599fbbb2dfe2d70e659b0789213bc685fde3fc07804e2f9332aeb7d06acce0ee.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @SwagPayPal/storefront/page/checkout/confirm/index.html.twig */
  16. class __TwigTemplate_cbed61dddaef9c990d7f502b3ea914d75b60fc63d407ee9e95aefe5d3b8fe474 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_checkout_confirm_form_submit' => [$this'block_page_checkout_confirm_form_submit'],
  26.             'ppage_checkout_confirm_form_submit_paypal_container' => [$this'block_ppage_checkout_confirm_form_submit_paypal_container'],
  27.             'base_script_hmr_mode' => [$this'block_base_script_hmr_mode'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@Storefront/storefront/page/checkout/confirm/index.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPayPal/storefront/page/checkout/confirm/index.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagPayPal/storefront/page/checkout/confirm/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@Storefront/storefront/page/checkout/confirm/index.html.twig""@SwagPayPal/storefront/page/checkout/confirm/index.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 3
  50.     public function block_page_checkout_confirm_form_submit($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_confirm_form_submit"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_confirm_form_submit"));
  57.         // line 4
  58.         echo "    ";
  59.         $this->displayParentBlock("page_checkout_confirm_form_submit"$context$blocks);
  60.         echo "
  61.     ";
  62.         // line 6
  63.         $this->displayBlock('ppage_checkout_confirm_form_submit_paypal_container'$context$blocks);
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     public function block_ppage_checkout_confirm_form_submit_paypal_container($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ppage_checkout_confirm_form_submit_paypal_container"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ppage_checkout_confirm_form_submit_paypal_container"));
  76.         // line 7
  77.         echo "        ";
  78.         $this->loadTemplate("@SwagPayPal/storefront/component/ecs-spb-checkout/ecs-spb-data.html.twig""@SwagPayPal/storefront/page/checkout/confirm/index.html.twig"7)->display($context);
  79.         // line 8
  80.         echo "    ";
  81.         
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  83.         
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  85.     }
  86.     // line 12
  87.     public function block_base_script_hmr_mode($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_script_hmr_mode"));
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_script_hmr_mode"));
  94.         // line 13
  95.         echo "    ";
  96.         $this->displayParentBlock("base_script_hmr_mode"$context$blocks);
  97.         echo "
  98.     ";
  99.         // line 14
  100.         if ((($__internal_compile_0 sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse14)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_constant("Swag\\PayPal\\Checkout\\Plus\\PlusSubscriber::PAYPAL_PLUS_DATA_EXTENSION_ID")] ?? null) : null)) {
  101.             // line 15
  102.             echo "        <script src=\"https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js\"></script>
  103.     ";
  104.         }
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.     }
  110.     public function getTemplateName()
  111.     {
  112.         return "@SwagPayPal/storefront/page/checkout/confirm/index.html.twig";
  113.     }
  114.     public function isTraitable()
  115.     {
  116.         return false;
  117.     }
  118.     public function getDebugInfo()
  119.     {
  120.         return array (  125 => 15,  123 => 14,  118 => 13,  108 => 12,  98 => 8,  95 => 7,  76 => 6,  70 => 4,  60 => 3,  37 => 2,);
  121.     }
  122.     public function getSourceContext()
  123.     {
  124.         return new Source("{% sw_extends '@Storefront/storefront/page/checkout/confirm/index.html.twig' %}
  125. {% block page_checkout_confirm_form_submit %}
  126.     {{ parent() }}
  127.     {% block ppage_checkout_confirm_form_submit_paypal_container %}
  128.         {% sw_include '@SwagPayPal/storefront/component/ecs-spb-checkout/ecs-spb-data.html.twig' %}
  129.     {% endblock %}
  130. {% endblock %}
  131. {# @deprecated tag:v7.0.0 - Will be removed without replacement #}
  132. {% block base_script_hmr_mode %}
  133.     {{ parent() }}
  134.     {% if page.extensions[constant('Swag\\\\PayPal\\\\Checkout\\\\Plus\\\\PlusSubscriber::PAYPAL_PLUS_DATA_EXTENSION_ID')] %}
  135.         <script src=\"https://www.paypalobjects.com/webstatic/ppplus/ppplus.min.js\"></script>
  136.     {% endif %}
  137. {% endblock %}
  138. ""@SwagPayPal/storefront/page/checkout/confirm/index.html.twig""/home/fasflpog/shopware/custom/plugins/SwagPayPal/src/Resources/views/storefront/page/checkout/confirm/index.html.twig");
  139.     }
  140. }