<script
    type="text/javascript"
    src="{$aplazame_js_uri|escape:'htmlall':'UTF-8'}"
    data-api-host="{$aplazame_api_base_uri}"
    data-aplazame="{$aplazame_public_key}"
    data-sandbox="{if $aplazame_is_sandbox}true{else}false{/if}">
</script>

<script type="text/javascript" src="{$aplazame_js_uri|escape:'htmlall':'UTF-8'}"></script>

<script>
    aplazame.init({
        host: "{$aplazame_api_base_uri}",
        publicKey: "{$aplazame_public_key}",
        sandbox: "{if $aplazame_is_sandbox}true{else}false{/if}"
    });
</script>

Revert aplazame.js use of data attributes
Revert aplazame.js use of data attributes

PrestaShop minifier strip data attributes.
