Was able to solve problem myself
The solution, perhaps not the most elegant, was interesting to me so I will share it here.
I copied the html paypal button code (for each button) into my XML database.
Note that each button has form tags
Note-had to fix their buttons. the img and input tags didn't have closing tags
Next I escasped the < " > symbols by doing replacements < " >
I then viewed the calling aspx page and got a resource not available error.
I did a View Source and realized that the html for the buttons was correct.
The translation from HTML to XML was not a problem after the escaping.
I then remembered that I had this problem before on the predecessor site.
So what I did was change my master page for this one page only to
a master page that doesn't have form tags- I just deleted them. All of the buttons work perfectly now (even
though the calling page is an aspx page), albeit one that uses a master page that doesn't have form tags.
Hope this helps someone with a similar problem.
Last edited by sg48; February 22nd, 2010 at 11:18 AM..
Reason: grammer
|