Page 1 of 1

PayPal button link on a CMSMS page [SOLVED]

Posted: Thu Feb 26, 2009 2:07 pm
by heatherfeuer
I did a search on using a PayPal button inside a CMSMS page.  I found this topic: http://forum.cmsmadesimple.org/index.php/topic,19850.0.html.  The response was a bit snippy -- at least to me it was.

I DO know how to set up a PayPal button.  I went to PayPal's merchant resources, set up the correct line item for rendered services.  I copied the code for the link and button then on the page where I wanted the button, I went to html mode and pasted the code.

The button appears just as it should, however, when you click on it, nothing happens.  So I selected the button in the wysiwyg editor and copied the main input link there.  That returned an internal error message.  I will continue to troubleshoot this -- mostly because I really don't expect to get any real help here.

If I DO figure it out, however, I WILL come back and post my solution for anyone else who encounters this problem.

Re: PayPal button link on a CMSMS page

Posted: Thu Feb 26, 2009 2:33 pm
by RonnyK
Heather,

best way to setup the logic for this...

Set in the user-preferences (or even in GlobalSettings) that no wysiwyg is allowed for GCB.

In GCB paste the code from Paypal.
In the content/template, call the GCB.

The issue is that the wysiwyg tries to escape characters in the paypal-code, leaving you with wrong logic.

Ronny

Re: PayPal button link on a CMSMS page

Posted: Thu Feb 26, 2009 2:36 pm
by heatherfeuer
Thank you!  I'll try that.  I had already noticed that the primary problem was that the html keeps disappearing and that's why the buttons won't work.  I hadn't realized that the wysiwyg could affect that.

Re: PayPal button link on a CMSMS page [SOLVED]

Posted: Thu Feb 26, 2009 3:09 pm
by heatherfeuer
You were right Ronny and thanks again.  When I turned wysiwyg off, the elements didn't disappear and the links now work as they should.