modules/CDev/Paypal/templates/web/customer/modules/CDev/Paypal/header/parts/fastlane_config.twig line 1

Open in your IDE?
  1. {##
  2.  # Template
  3.  #
  4.  # @ListChild (list="head", weight="1350")
  5.  #}
  6. {% if this.isFastlaneEnabled() %}
  7.   {% set flConfig = this.getFlConfig() %}
  8.   <script>
  9.     var flConfig = {
  10.       allowedLocations: JSON.parse('{{ flConfig.allowedLocations|raw }}'),
  11.       states: JSON.parse('{{ flConfig.states|raw }}')
  12.     };
  13.   </script>
  14. {% endif %}