HTML Code changing once updating page

  • Unknown's avatar

    Hello,
    I am trying to insert a Paypal button that includes a drop-down menu, and once I put it into the TEXT section of the post edit, and click UPDATE, the original code changes.

    Here is the original code.
    <form action=’https://www.paypal.com/cgi-bin/webscr’ method=’post’ target=’_top’>
    <input type=’hidden’ name=’cmd’ value=’_s-xclick’>
    <input type=’hidden’ name=’hosted_button_id’ value=’GXFPWJ5FEURPW’>
    <table>
    <tr><td><input type=’hidden’ name=’on0′ value=’Payment Options’>Payment Options</td></tr><tr><td><select name=’os0′>
    <option value=’Five’>Five : $5.00 USD – monthly</option>
    <option value=’Fifteen’>Fifteen : $15.00 USD – monthly</option>
    <option value=’Twenty Five’>Twenty Five : $25.00 USD – monthly</option>
    <option value=’Fifty’>Fifty : $50.00 USD – monthly</option>
    </select> </td></tr>
    </table>
    <input type=’hidden’ name=’currency_code’ value=’USD’>
    <input type=’image’ src=’https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif’ border=’0′ name=’submit’ alt=’PayPal – The safer, easier way to pay online!’>
    <img alt=” border=’0′ src=’https://www.paypalobjects.com/en_US/i/scr/pixel.gif’ width=’1′ height=’1′>
    </form>

    CHANGES TO
    <table>
    <tbody>
    <tr>
    <td>Payment Options</td>
    </tr>
    <tr>
    <td>
    Five : $5.00 USD – monthly
    Fifteen : $15.00 USD – monthly
    Twenty Five : $25.00 USD – monthly
    Fifty : $50.00 USD – monthly
    </td>
    </tr>
    </tbody>
    </table>

    <img src=’https://www.paypalobjects.com/en_US/i/scr/pixel.gif’ alt=” width=’1′ height=’1′ border=’0′ />

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there!

    I can see you’ve got the Paypal button up and running on your site now – https://wordupbooks.wordpress.com. I had a look and it works for me. Do you still need a hand?

  • Unknown's avatar

    Hi! Yes I still need help. The button is actually not up. It’s supposed to be a dropdown button. Once I update the post, page, or widget, the code changes and gives me a table.

  • Unknown's avatar

    Ah, I’m afraid it doesn’t work with a drop-down button. You can only use the regular button on WordPress.com sites, sorry.

  • Unknown's avatar

    Oh ok, thanks for your help.

  • The topic ‘HTML Code changing once updating page’ is closed to new replies.