• Hey guys,

    I love word press script but this is getting very annoying. I’m trying to add the Google checkout html code for buying something and it keeps altering the code so I want to know how I can manually go into the page and edit it through notepad so it overwrites whatever wordpress keeps trying to do.

    <form action=”https://checkout.google.com/cws/v2/Merchant/blablabla/checkout&#8221; id=”BB_BuyButtonForm” method=”post” name=”BB_BuyButtonForm”> <input type=”hidden” name=”cart” value=”blablablablabla” /> <input type=”hidden” name=”signature” value=”blablablablabla=” /> <input type=”image” /> </form>

    IT SHOULD BE:

    <form action=”https://checkout.google.com/cws/v2/Merchant/blablabla/checkout&#8221; id=”BB_BuyButtonForm” method=”post” name=”BB_BuyButtonForm”>
    <input name=”cart” type=”hidden” value=”blablabla”/>
    <input name=”signature” type=”hidden” value=”blablabla”/>
    <input alt=”” src=”https://checkout.google.com/buttons/buy.gif?merchant_id=blablabla&w=117&h=48&style=white&variant=text&loc=en_US&#8221; type=”image”/>
    </form>

    Whenever I enter the HTML code of what it SHOULD be, wordpress updates it and alters the code so I want to know how I can manually go into the file using notepad and enter what the actual code should be so wordpress doesn’t alter it and screw up the coding.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the same problem. Has anyone figured out how to fix this issue?

    Where do you try to “add” it? In a post or Page? That might only work if the wysiwyg (RTE) editor is turnedd OFF.

    Otherwise, for a Page, it is advisable to create a Page template and add the code directly into the template, then create a Page using the new template file.

    same problem.. how weird!! so frustrating..

    Anyone have a clue?

    -Jess

    “Otherwise, for a Page, it is advisable to create a Page template and add the code directly into the template”

    That’s exactly right. This type of thing belongs in a template because it’s not content per se.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Google Checkout Integration Trouble. WordPress is changing HTML code:(’ is closed to new replies.