• I created an ‘Add To Cart’ button on the Paypal site, copied the code, and pasted it into a WP page. When I view it the first time it looks good. My button includes an ‘Option’ pull down window for customer to choose from different options.

    When I go back to the WP editor to do more work on the page and update the page again, the Paypal code changes and the ‘Options’ that I created are no longer displayed as a pull down window, but all options are displayed on the page. What’s the fix?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having the same problem. Does anybody have any idea what is going on and how to resolve it?

    Thread Starter anelson

    (@anelson)

    I talked with PayPal. They say WP wants to re-format their code to WP standards. They had no solution on how to prevent it.

    I found a way to deal with it. I noticed that the code only re-formats to WordPress standards when I went from the HTML editor to the Visual editor. So I first used the visual editor for everything except the Paypal code. I then went to the HTML editor and pasted my PayPal code where it belonged. Next, I copied and pasted all of the HTML for the page into a MS Word document as a quick and easy back up. That was important, bc I had to make more changes using the Visual editor.

    http://www.alansguitarmethod.com/pricing/order-page/

    Thanks! I also found out that if you turn off the visual editor befor you paste in the PayPal code that seems to fix it also. After pasting in the code and updating the form turn the visual editor back on and everything still works.

    That page has 17 validation errors in it — some of which might be in PayPal’s code. You might want to address those errors whether they are yours or PayPal’s.

    Also, you really should not use Word in creating or copying HTML code as it can corrupt it and when you paste it back in, it may create problems. Use a plain text editor or one designed for HTML coding.

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

The topic ‘Paypal code changes’ is closed to new replies.