Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

249
Views
No puedo agregar la etiqueta <script> a la página HTML

Estoy integrando el sistema de pago Pospago con mi aplicación web agregando código JS a la página HTML, pero nada funciona.

Aquí está el código que necesito para integrar:

 <script> window.postpayAsyncInit = function() { postpay.init({ merchantId: '{merchantId}', sandbox: true, theme: 'light', locale: 'en' }); }; </script> <script async src="https://cdn.postpay.io/v1/js/postpay.js"></script>

Usé este tutorial .

Soy backender y no conozco JS, nada me funciona. ¿Cómo puedo hacer que esto funcione?

Esta es la salida de la consola, hay 2 excepciones:

ingrese la descripción de la imagen aquí

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Si el primer script se basa en el script del enlace cdn, este último debe colocarse primero en orden como se muestra a continuación:

 <script async src="https://cdn.postpay.io/v1/js/postpay.js"></script> <script> window.postpayAsyncInit = function() { postpay.init({ merchantId: '{merchantId}', sandbox: false, theme: 'light', locale: 'en' }); }; </script>
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!