[BETA] Advanced PayPal Donation MOD

MODs and Styles for phpBB3.

To post your MOD or style, go to the STG MOD Manager
Forum rules
Go to http://startrekguide.com/mods to submit your MOD or style

[BETA] Advanced PayPal Donation MOD

Postby Gonculator » 17 Oct 2008, 23:39

MOD Title: Advanced PayPal Donation MOD
MOD Author: Highway of Life
MOD Description: Adds a page to your site that allows you to accept PayPal Donations in multiple currencies and add donators to a supporters group automatically.
This MOD integrates with your existing PayPal account and automatically verifies transactions and notifies the administrator upon successful donation.

Notes:
Version 1.0.B4 has been released to the public as an update to version 1.0.B3 that was tested by the STG Supporters (the Private Beta Group). This release includes bug fixes discovered in Beta3. The next release (Beta5) will be released to the Private Beta Group once again, with all new features. If you would like to participate in the Private Beta Group (requires donation), please contact me for more information.

No support will be provided for Public Beta4. The Private Beta Group still receives full support for all versions.

Tested on phpBB version:
  • 3.0.0
  • 3.0.1
  • 3.0.2
  • 3.0.3-dev

Supported Languages: (Credits)
  • English by Highway of Life

Supported Databases:
  • MySQL (all versions)
  • MySQLi
  • MSSQL
  • MSSQL ODBC
  • Firebird
  • PostgreSQL
  • SQLite
  • Oracle

Styles supported:
  • prosilver
  • subsilver2 -- Will be available for STG Supporters (Private Beta Testers)

MOD Format:
Image

Requirements:
  • PHP 5.0 or above -- this MOD will NOT run on PHP4

Features:
- Daily currency rate conversions.
- Allows users to donate in the currency of their choice
- User is automatically added to supporters group upon successful donation
- Allows admin to set a minimum donation amount to be added to supporters group
- Test your account setup using the PayPal sandbox
- 18 Currencies supported
- 189 Countries listed
- Integration with PayPal and PayPal Sandbox
- Manual and Automatic transaction verification
- Admin may choose to receive e-mails or private messages upon completed donation
- Transaction logging
- Automatic MOD installation
- ACP Control Panel to control config values
- Wrapper for servers without cURL compiled.
- Full Debugging and Logging control

Known Limitations:
- Unable to define benefits (coming in Beta4)
- subsilver2 styles not yet supported (coming in Beta4)

Planned Features:
- Admin definable donation benefits and rewards
- Site donation Goals status and progress
- Site supporters list for users and separately for admins.
- Quick Register: Allows the user to fill out registration (if not registered) while donating.
- Login box to allow users to easily login
- Donation reports
- Integration with Handyman's Cash MOD
- Admin selectable amount of cash points added to user account based on amount donated.
- Option to allow "anonymous donations"
- and more...

Support Topics:
Development Topics: (No Support)
Installation:
Image
Image
Image

Installation Video: http://screencast.com/t/vxfnUhec3


FAQ
----
Q. Getting this error:
Code: Select all
[phpBB Debug] PHP Notice: in file /donate/index.php on line 113: Undefined variable: source

A. Replace:
Code: Select all
$donate->display($source);  
with:
Code: Select all
$donate->display();  

----
Q. Multiple PM problem.
A. In the functions_paypal.php file:
FIND:
Code: Select all
'payment_gross'        => $this->data['mc_gross'],
            
'payment_fee'        => $this->data['payment_fee'], 

REPLACE, WITH:
Code: Select all
'payment_gross'        => (float) $this->data['mc_gross'],
            
'payment_fee'        => (float) $this->data['mc_fee'], 

FIND:
Code: Select all
'payment_gross'        => '',
            
'payment_fee'        => 0

REPLACE, WITH:
Code: Select all
'mc_gross'            => 0.00,
            
'mc_fee'            => 0.00


See the following posts for details on the error: 1, 2, 3
----
Q. There is an error when attempting to access the sandbox, or when using Google Chrome to donate. Submit brings you to the PayPal home page instead of the correct page.
A. The PayPal URL is set to port 80 (http), but PayPal redirects to port 443 (https), but for some reason, Google Chrome does not handle that correctly.
in functions_paypal.php
FIND:
Code: Select all
$this->u_paypal = ($config['paypal_sandbox'] || PAYPAL_DEBUG) ? 'http://www.sandbox.paypal.com/cgi-bin/webscr' : 'http://www.paypal.com/cgi-bin/webscr'; 

REPLACE, WITH:
Code: Select all
$this->u_paypal = ($config['paypal_sandbox'] || PAYPAL_DEBUG) ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr'; 

----
MOD Version: 1.0.0B4
MOD Status: BETA

Tested on phpBB version: 3.0.2
Released: 26 Apr 2010

Installation Level: easy
Installation Time: ~ 4 Minutes

Demo: Click here to visit the demo website

This is an automated message posted by STG’s MOD Manager version 0.2.0
Attachments
donation_mod.zip
Advanced PayPal Donation MOD v1.0.B4
(57.91 KiB) Downloaded 7632 times
Last edited by Gonculator on 26 Apr 2010, 13:19, edited 7 times in total.
Reason: MOD Updated
I am Gonculator, the STG Forum Robot -- Please do not PM me, I will not answer, but I will eat users who PM me. :twisted:
User avatar
Gonculator
Forum Robot
Forum Robot
 
Posts: 640
Joined: 16 Nov 2006, 21:52
Location: Forum Robot
Gender: Male


Re: [BETA] Advanced PayPal Donation MOD

Postby shahinavthal » 18 Oct 2008, 10:45

How can i just replace my existing index_body.html file :shock:

Coz i have some MODs already within the my index_body.html file...I have got the settings screens etc...

But still not able to use this mod as i cant replace my index_body file..Any suggestions ?
shahinavthal    
Supporter
Supporter
 
Posts: 32
Joined: 29 Aug 2008, 10:00
Gender: Male
phpBB Knowledge: 4

Re: [BETA] Advanced PayPal Donation MOD

Postby Highway of Life » 18 Oct 2008, 11:49

err... no, the /donate/index_body.html file... not the /index_body.html file. ;)

Oh dear... is that in there? :shock:
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: [BETA] Advanced PayPal Donation MOD

Postby shahinavthal » 18 Oct 2008, 12:30

yah there is a prosilver/template/index_body.html in the attachment :s
shahinavthal    
Supporter
Supporter
 
Posts: 32
Joined: 29 Aug 2008, 10:00
Gender: Male
phpBB Knowledge: 4

Re: [BETA] Advanced PayPal Donation MOD

Postby shahinavthal » 18 Oct 2008, 16:20

And when i tried to access /donate/index.php i got the following error

Spoiler:
SQL ERROR [ mysql4 ]

Table 'aikyam0_forum.aikyam_donation_perks' doesn't exist [1146]

SQL

SELECT perk_title, perk_text, perk_desc_bitfield, perk_desc_options, perk_desc_uid FROM aikyam_donation_perks WHERE perk_expire_date = 0 OR (perk_active_date < 1224368069 AND perk_expire_date > 1224368069) ORDER BY perk_order

BACKTRACE


FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: donate/index.php
LINE: 95
CALL: dbal_mysql->sql_query()
shahinavthal    
Supporter
Supporter
 
Posts: 32
Joined: 29 Aug 2008, 10:00
Gender: Male
phpBB Knowledge: 4

Re: [BETA] Advanced PayPal Donation MOD

Postby acidrain » 18 Oct 2008, 23:44

Dudes, I am gona install this mo on my board now!! yay ya! and let u know if thers any errors :(



EDIT: No Errors So Far.... Please Solve My Next Question where I need to add a banner
Last edited by acidrain on 19 Oct 2008, 00:38, edited 1 time in total.
User avatar
acidrain
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 173
Joined: 08 Oct 2008, 10:59
Gender: Male
phpBB Knowledge: 4

Re: [BETA] Advanced PayPal Donation MOD

Postby acidrain » 19 Oct 2008, 00:06

hey isnt it the b4 version?
it says
MOD Successfully installed version: 1.0.B3
User avatar
acidrain
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 173
Joined: 08 Oct 2008, 10:59
Gender: Male
phpBB Knowledge: 4

Re: [BETA] Advanced PayPal Donation MOD

Postby acidrain » 19 Oct 2008, 00:13

Edit: I got that sorted... But Can any one tell me how can I display my forums banner instead of my email address in paypal like STG did ?
User avatar
acidrain
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 173
Joined: 08 Oct 2008, 10:59
Gender: Male
phpBB Knowledge: 4

Re: [BETA] Advanced PayPal Donation MOD

Postby Dugi » 19 Oct 2008, 11:03

i want to remove the mod completely.. and retry to reinstall it.
But how to uninstall the mod completely?
I delete the files from the HOST, but when i copy them to their places again nothing happens, no setup, nothing.

How to FIX This?

For screenshots check the topic on phpBB
http://www.phpbb.com/community/viewtopi ... 0#p7418535
User avatar
Dugi    
Supporter
Supporter
 
Posts: 33
Joined: 08 Aug 2008, 14:13
Favorite Team: F.C. Barcelona
Gender: Male
phpBB Knowledge: 7

Re: [BETA] Advanced PayPal Donation MOD

Postby acidrain » 19 Oct 2008, 18:29

duqki wrote:i want to remove the mod completely.. and retry to reinstall it.
But how to uninstall the mod completely?
I delete the files from the HOST, but when i copy them to their places again nothing happens, no setup, nothing.

How to FIX This?

For screenshots check the topic on phpBB
http://www.phpbb.com/community/viewtopi ... 0#p7418535



Dude, its working......... its the easyest mod i ever installed... look upload all the files in proper places.. now go back and go inside the template folder, see > styles> Donate>index.html...upload the donate folder to your style/theme lets say its prosilver...thats all, now...go acp, refresh template and follow the on screen instructions of screenshots and intregrade the module...and refresh everything and clear chache..ur done




CAN ANY ONE TELL ME HOW TO GET THE A BANNER IN PAY PAL TO HIDE MY EMAIL LIKE STG DID ??? :beg: Please!
User avatar
acidrain
Lt. Jr Grade
Lt. Jr Grade
 
Posts: 173
Joined: 08 Oct 2008, 10:59
Gender: Male
phpBB Knowledge: 4

Next

Return to phpBB3 Customizations

Who is online

Users browsing this forum: Ezooms Bot and 23 guests