PayPal Donate

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/22/2009 12:10:12 PM
Gravatar
Total Posts 4

PayPal Donate

How do I use a PayPal donate button in mojoportal -- like the one in MojoPortal's banner?

9/22/2009 2:48:40 PM
Gravatar
Total Posts 18439

Re: PayPal Donate

Hi,

While you might think it was a fancy webstore integration, the donate link on this site is nothing more than an image with a link to paypal, the same kind of link you can use in an email. If you login to your paypal account I think they have pages to help you create such links.

Hope it helps,

Joe

6/21/2011 10:53:31 AM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: PayPal Donate

Hi Joe.  I tried to do a similar thing on my site, but I find that when I click the donate button, nothing happens.  I used the code the provide for a web page; should I be using the code for an email instead?

Also, is it necessary to configure those URL fields, where to send the user in the event of either a cancellation or a successful completion?  I don't have those fields filled, so maybe that's why nothing happened?

My present system info:

Mojo version:  2.3.6.5 MSSQL
Operating System:   Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info:   v2.0.50727 Running in Full Trust

Hope you can help, because if I can't get some donations soon, I'm going to be forced to retire from the ASP.NET/Mojo/DNN world; I can't any longer afford the separate hosting, and I have too many years invested in Joomla to quit it -- though I might be forced to quit that too, money is so tight.

Thx!

Andria

6/21/2011 11:36:37 AM
Gravatar
Total Posts 18439

Re: PayPal Donate

Hi Andria,

You cannot use their web button code because you cannot add extra form elements to the page in ASP.NET WebForms. I use the email style link which does not require a form element, if you view the source of the page on this site you can easily see the syntax. You would use your own hosted_button_id

Note that I'm adding the button image from a CSS sprite as a background image on the link, but you could just as easily use an <img tag inside the link.

Hope that helps,

Joe

6/21/2011 11:46:59 AM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: PayPal Donate

Yeah I guess that makes sense, since the ASP.NET page is a form, or a webform; not sure I knew if those were the same thing, but I did wonder about it, as it seemed somewhat "nested" -- works great for tables and divs, maybe not so much for forms.  surprise

I'll give the email one a whirl, and see how that does.

Thx much!

Andria

 

6/21/2011 12:09:49 PM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: PayPal Donate

Ok, that works!  My only concern is that it shows my email address at the top of the donation screen, but I suppose that's unavoidable, since the link is intended for email usage?  I did select the option about using my secure merchant ID, but I think that pertains only to the actual URL, not the displayed page.  Oh well; that address already gets so much spam, I'm about to turn on the cPanel boxtrapper function for it.

Thx!

Andria

7/14/2011 8:50:00 AM
Gravatar
Total Posts 147
Download Free Mojo Skins http://crypticsites.net

Re: PayPal Donate

Well, I'm very pleased to report that not only did the Donate link work properly, it was also finally effective; one donation has finally been made, which is not quite as much as 6 months asp.net hosting at arvixe, but close, so I'm going to go ahead and renew my asp.net hosting in August -- Mojoportal is just too addictive to give up without a fight!

So, now that I know I'll be sticking with this for at least 6 more months, onward with the Mojo update and making some new skins -- I saw that your docs for adapting Artisteer templates were updated at last since Artisteer FINALLY! made a standard release of 3.x, and they seem to be just as complete and explanatory as the earlier docs for earlier Artisteer versions.  The problem I was running into is that with 3.0, you can make the header, nav, footer, or all or any of those, outside the "sheet," and obviously the earlier docs for adapting Artisteer templates had nothing about that, since it's a new feature.  I'm hoping I can figure it out now.

Glad I'll be sticking around for more Mojo! cheeky

Andria

You must sign in to post in the forums. This thread is closed to new posts.