Help please! HTML Element for Payment Application

My payment provider created a widget for me that I have been trying to integrate for an entire day.
The instructions were to add a script to the footer and a div on the element.

I have tried a million different configs but I cannot find one that displays anything. I have created the link below to a demo page where I have attempted to follow their instruction using HTML elements. I have also added the instructions they sent to me in a text element on the page for reference.


How do I get passed this?!

Hello @eddie.sellers.jr,

Sorry to hear you are having some troubles.

This is very interesting, but I found the issue!

The payment provider gave you some weird code, they used some weird quotes (" ") in their code which caused it to throw an error. I have attached the correctly formatted code below!

<div id="wbc_container">&nbsp;</div>
  window.__wbc = window.__wbc || {}; = "wbc_container"; = "Buildport"; = "";
  window.__wbc.image = "";
  window.__wbc.color = "#FF0102";
  (function () {
    var wbc = document.createElement("script");
    wbc.type = "text/javascript";
    wbc.async = true;
    wbc.src =
    ("https:" == document.location.protocol ? "https://" : "http://") + "";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(wbc, s);
1 Like

Hey @johnny !

Wow. Thank you! I can finally move on with my project. I really appreciate you looking into this for me. I see now what you mean about the weird quotes.

1 Like

You’re welcome! As a programmer I definitely know the struggles when your project is completely stopped due to some weird code. I’m glad I was help to you!

This topic was automatically closed after 70 days. New replies are no longer allowed.