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

210
Views
How can I load a Redsys inSite iframe?

I am trying to incorporate a Redsys inSite payment gateway in my website. There are only a few steps to follow, and I can't find the way to load the iframe into the page.

Details

  • I have secure protocol activated (https).
  • The URL is allowed by the Redsys provider as able to use the Redsys payment.
  • I have no protection for access (no restricted htaccess).
  • No console errors.

The code I use:

Redsys script:

<script src="https://sis-t.redsys.es:25443/sis/NC/sandbox/redsysV2.js"></script>

Body attr:

<body onload="loadRedsysForm()">

HTML div for iframe and inputs for the response:

<div class="redsys_form">
   <div id="card-form"></div>
   <input type="hidden" id="token" >
   <input type="hidden" id="errorCode" >
   <!-- <a href="javascript:alert(document.datos.token.value + '--' + document.datos.errorCode.value)"> ver</a> -->
</div>

Js:

/**
  *   Redsys insite
  */

getInSiteForm('card-form', '', '', '', '', 'Pagar', '352655252', '001', '0263-40');

function merchantValidationEjemplo(){
    //Insertar validaciones…
    return true;
}

<!-- Listener de recepción de ID de operación -->
window.addEventListener("message", function receiveMessage(event) {
    storeIdOper(event,"token", "errorCode", "merchantValidationEjemplo");
});

Screenshot of the error:

'Error' message appearing on screen

I have no idea where to find the answer, I hope some of you can help.

Thank you for your time!

about 4 years ago · Juan Pablo Isaza
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!