I have a footer in my sandbox that loads a 1x1 image, and uses an onLoad to run javascript that customizes the feel of the SIM payment form. This has been working in my developer sandbox for a few weeks now. I'm in the process of migrating my work from development to live. When I paste the footer into my real authnet account, the system refuses to save it. It gives the error:
The following error(s) occurred: |
Header and Footer may contain invalid markup, please review the HTML and retry. |
The exact same code is live and working in the sandbox. However if I go in to the Footer settings in my sandbox and re-save the code that is already in the box, it errors out as above.
Did the permitted javascript change some time after I first created my sandbox's Footer? Is there some documentation on what html/javascript is invalid for the footer and header boxes?
This is my code(form complained of invalid html when using "Insert Code" button):
<img src="http://domain.name/1x1.bmp" onLoad="document.getElementById('tableCustomerShippingHeading').rows[0].cells[0].innerHTML='Other Information';el=document.getElementById('trChkCopyBill');el.parentNode.removeChild(el);" />
Thank you for your assistance,
Jason Pierce