PayPal button link on a CMSMS page [SOLVED]

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
heatherfeuer

PayPal button link on a CMSMS page [SOLVED]

Post 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.
Last edited by heatherfeuer on Thu Feb 26, 2009 3:07 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: PayPal button link on a CMSMS page

Post 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
heatherfeuer

Re: PayPal button link on a CMSMS page

Post 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.
heatherfeuer

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

Post 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.
Post Reply

Return to “Developers Discussion”