Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Donation Page V0.3 for YaBB 2.5 (Read 13753 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Donation Page V0.3 for YaBB 2.5
Jul 12th, 2010 at 8:34pm
Print Post  
Donation Page V0.3

Description:
----------------
This Mod will add a donation page to your forum, allowing users to donate to you via PayPal. You can fully customize the donation page to your liking with HTML.

Notes:
--------
- You will need either a Business or Premier PayPal account to use this Mod as it requires your Secure Merchant Account ID.
- You will need to go into your PayPal account and under 'Profile => Website Payment Preferences', enable 'Auto Return'. Otherwise you will get a 'Form Spoofing Alert' when returning to the forum.

Credits:
----------
Thanks to Mick (www.info4alien.de) for the German and German_Du Language translations.

Screenshots:
-----------------
Donation Page: (Note: This is just a quick example - you will need to customize this page yourself.)


Admin Center - Donation Page Settings:


PayPal Page:


Return Page:


Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload DonationPageSettings.pl, DonationPage.lng and DonationPage.pl to their relevant directories in ASCII mode.
4) Upload donate.png and donate.gif to their relevant directories in binary mode.

Files to edit:
----------------
AdminIndex.pl
Admin/AdminSublist.pl
Admin/ModList.pl
Languages/***/Admin.lng
Languages/***/Menu.lng
Sources/AdvancedTabs.pl
Sources/SubList.pl
Sources/Subs.pl
Sources/TabMenu.pl
Variables/Menu0.def
Variables/Menu1.def
Variables/Menu2.def
Variables/Settings.pl

Zip package:
-----------------
Donation_Page_V0_3.mod
Donation_Page_V0_3_German_Patch.mod
Donation_Page_V0_3_German_Du_Patch.mod
cgi-bin/yabb2/Admin/DonationPageSettings.pl
cgi-bin/yabb2/Languages/***/DonationPage.lng
cgi-bin/yabb2/Sources/DonationPage.pl
html_root/yabbiles/Buttons/***/donate.png
html_root/yabbfiles/Templates/Forum/default/donate.gif

History:
---------
V0.1 - First release - 28th May 2010
V0.2 - Fixed repeated text in Donation Page Settings - 30th May 2010
V0.3 - Updated for YaBB 2.5 - 12th July 2010
  

Donation_Page_V0_3.zip ( 26 KB | Downloads )
Back to top
 
IP Logged
 
ProgMaster
New Member
*
Offline



Posts: 36
Location: Offshore
Joined: Mar 2nd, 2007
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #1 - Sep 10th, 2010 at 12:58am
Print Post  
A great mod - many thanks Derek. Smiley

A quick question - what URL should be keyed into the PayPal 'Website Payment Preferences' ? Will the user's forum URL do ?

Thanks again.

Darran
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #2 - Sep 10th, 2010 at 1:38am
Print Post  
Hi, and thank you!

It doesn't actually matter what you enter there when using this Mod, because I've used a PayPal variable to override it in DonationPage.pl:

Code
Select All
<input type="hidden" name="return" value="$scripturl?action=donationreceived" /> 


However, if you're using a PayPal button elsewhere with the same account then you will obviously be redirected to the URL you enter.

But, as I say, whatever you enter there won't actually affect this Mod.

I hope that makes sense to you...




  
Back to top
 
IP Logged
 
ProgMaster
New Member
*
Offline



Posts: 36
Location: Offshore
Joined: Mar 2nd, 2007
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #3 - Sep 10th, 2010 at 12:54pm
Print Post  
Hi Derek,

Many thanks for the quick reply.

Yes, that makes perfect sense. Smiley

Although I have a PayPal donate button on the front-page (ie. outside of my forum) of my website, I haven't used the 'enable auto return' feature within PayPal until now.

Thanks again for the excellent mod. It works a treat. Smiley

Darran
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #4 - Sep 10th, 2010 at 5:05pm
Print Post  
You're welcome.

If by any chance you don't want to use the auto return, you could simply remove the line I posted in my last reply from DonationPage.pl...
  
Back to top
 
IP Logged
 
ProgMaster
New Member
*
Offline



Posts: 36
Location: Offshore
Joined: Mar 2nd, 2007
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #5 - Sep 10th, 2010 at 9:57pm
Print Post  
Thanks again Derek. Smiley

I was trying to figure-out a way of any donation that's made returning to the forum's acknowledgement page (having read PayPal's terms and conditions regarding 'Auto Return').

Anyway, I've personally gone with removing the line you've mentioned above from DonationPage.pl as I now have the two options of users making a donation - through your excellent mod and the original donate button that I have on the front-page of my site.

Cheers.

Darran
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #6 - Sep 10th, 2010 at 10:04pm
Print Post  
ProgMaster wrote on Sep 10th, 2010 at 9:57pm:
I was trying to figure-out a way of any donation that's made returning to the forum's acknowledgement page (having read PayPal's terms and conditions regarding 'Auto Return').

Hopefully I've understood you right...

You would just need to enter this as the PayPal return URL:

Code
Select All
http://www.stellar-attraction.com/cgi-bin/yabb2/YaBB.pl?action=donationreceived 


That way, both your own button and the Mod will return to your forum's 'Donation Received' page...

  
Back to top
 
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #7 - Sep 13th, 2010 at 9:28pm
Print Post  
Nice mod Derek  Wink
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #8 - Sep 15th, 2010 at 2:57am
Print Post  
Thanks Chilli! Smiley
  
Back to top
 
IP Logged
 
kigiin
Junior Member
**
Offline


I Love YaBB 2!

Posts: 71
Joined: Jan 29th, 2011
Re: Donation Page V0.3 for YaBB 2.5
Reply #9 - Feb 12th, 2011 at 6:38pm
Print Post  
Really great mod Derek.
Have a questions - will the large PayPal logo on the donation page show up after I enter that merchant code (currently it isn't showing)?
I'd appreciate any help.
Thanks again for the great mod.
« Last Edit: Feb 12th, 2011 at 7:47pm by kigiin »  
Back to top
 
IP Logged
 
kigiin
Junior Member
**
Offline


I Love YaBB 2!

Posts: 71
Joined: Jan 29th, 2011
Re: Donation Page V0.3 for YaBB 2.5
Reply #10 - Feb 12th, 2011 at 7:46pm
Print Post  
Update .. I have tried every number I can find on my PayPal account to use in the Secure Merchant ID Account without luck. It continues to say that there is a problem with my email address listed with PayPal. I know for a fact that nothing is wrong with my information listed with PayPal as I am able to receive and send money.

I have even contacted PayPal and asked what the number is and they told me my business account does not have a merchant account ID number and questioned whether this mod needs the API number or API Certificate. PayPal also stated that Premier or Business accounts DO NOT have Merchant Account ID numbers ... only Merchant Accounts.

Can someone please tell me exactly what the number it is that I am to enter into the required box and WHERE can I find this information on my PayPal account?
I do know that it is not the 13 digit number provided in the code when I make a Donate button using PayPal.
Obviously I'm doing something wrong as I don't see any other entries where people are having problems.

Please HELP  ... and thank you when you do.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #11 - Feb 12th, 2011 at 9:31pm
Print Post  
kigiin wrote on Feb 12th, 2011 at 6:38pm:
Have a questions - will the large PayPal logo on the donation page show up after I enter that merchant code (currently it isn't showing)?

Nope - It's just a blank page so you can put your own content there. The screenshot is just an example.

kigiin wrote on Feb 12th, 2011 at 7:46pm:
Update .. I have tried every number I can find on my PayPal account to use in the Secure Merchant ID Account without luck. It continues to say that there is a problem with my email address listed with PayPal. I know for a fact that nothing is wrong with my information listed with PayPal as I am able to receive and send money.

I have even contacted PayPal and asked what the number is and they told me my business account does not have a merchant account ID number and questioned whether this mod needs the API number or API Certificate. PayPal also stated that Premier or Business accounts DO NOT have Merchant Account ID numbers ... only Merchant Accounts.

Can someone please tell me exactly what the number it is that I am to enter into the required box and WHERE can I find this information on my PayPal account?
I do know that it is not the 13 digit number provided in the code when I make a Donate button using PayPal.
Obviously I'm doing something wrong as I don't see any other entries where people are having problems.

Please HELP  ... and thank you when you do.

Have you just got a 'Personal' account? If you have then you will need to upgrade to a 'Premier' account. Just click on 'Upgrade' when you're logged in - it's free. Once you've upgraded, click on the 'Profile' link and you should see it at the top left of the page:

Secure Merchant Account ID: XXXXXXXXXXXXX
  
Back to top
 
IP Logged
 
kigiin
Junior Member
**
Offline


I Love YaBB 2!

Posts: 71
Joined: Jan 29th, 2011
Re: Donation Page V0.3 for YaBB 2.5
Reply #12 - Feb 12th, 2011 at 10:38pm
Print Post  
Thanks Derek.
I have a business account.
Following your directions I found the number.
The girl who I talked to at PayPal needs to go back into training.
Got it working.
Thanks !
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Donation Page V0.3 for YaBB 2.5
Reply #13 - Feb 12th, 2011 at 11:13pm
Print Post  
No problem - Glad you found it.
  
Back to top
 
IP Logged
 
Bill
New Member
*
Offline


I Love YaBB 2!

Posts: 3
Joined: Feb 25th, 2011
Re: Donation Page V0.3 for YaBB 2.5
Reply #14 - Mar 11th, 2011 at 3:21pm
Print Post  
I would like to install this mod into my 2.5 AE, But I haven't a clue where to start, Can anyone explain a little better on editing the files?
I would be editing them manually.
Thanks in advance.
Bill
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint