¿Cómo agregar el mensaje Paypal pay later en las páginas AMP?
estoy usando esto - en la cabeza
<script async custom-element="amp-script" src="https://cdn.ampproject.org/v0/amp-script-0.1.js"></script>en archivo
<amp-script layout="container" script="hello-world" class="sample"> <div id="pp-pay-later-message"></div> </amp-script> <script id="hello-world" type="text/plain" target="amp-script"> console.log("helo---from amp script"); const messageElement = document.getElementById('pp-pay-later-message'); const price = 500; paypal .Messages({ amount: price, style: { layout: "text", logo: { type: "primary", }, }, }) .render(messageElement); paypal.Messages.render(messageElement) </script>Pero nada muestra
¿Alguien tiene idea de cómo mostrar un mensaje?