Automatic PayPal Donation System

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
dasoldier
Posts: 73
Joined: Wed May 31, 2006 6:26 pm
Location: Holland
Contact:

Re: Automatic PayPal Donation System

Post by dasoldier » Tue May 12, 2015 7:59 pm

Maby its also recommended to remove the login server check since it is not needed anymore.
I only used it to compare passwords.

orophix
Posts: 13
Joined: Sat Apr 25, 2015 1:42 am

Re: Automatic PayPal Donation System

Post by orophix » Wed May 13, 2015 12:31 am

Code: Select all

Notice: Undefined index: custom in index.php on line 21

Notice: Undefined index: custom in index.php on line 27

User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

Re: Automatic PayPal Donation System

Post by u3games » Wed May 13, 2015 12:48 am

orophix wrote:

Code: Select all

Notice: Undefined index: custom in index.php on line 21

Notice: Undefined index: custom in index.php on line 27
Check your files. No errors in my test.
Image

dasoldier
Posts: 73
Joined: Wed May 31, 2006 6:26 pm
Location: Holland
Contact:

Re: Automatic PayPal Donation System

Post by dasoldier » Wed May 13, 2015 7:56 pm

orophix wrote:

Code: Select all

Notice: Undefined index: custom in index.php on line 21

Notice: Undefined index: custom in index.php on line 27
I think its because the form isnt called yet and the value is not known.
You can ignore it and disable error logging.

Or try to change in index.php:

Code: Select all

if(isset($_POST['submit']) 
{
// Select character name
$charname = mysqli_real_escape_string($db_link, $_POST['custom']);
}
I have not tested it yet.

rubenalonso
Posts: 7
Joined: Sat Feb 02, 2013 10:26 am

Re: Automatic PayPal Donation System

Post by rubenalonso » Fri May 22, 2015 12:02 pm

Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?

User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

Re: Automatic PayPal Donation System

Post by u3games » Fri May 22, 2015 1:14 pm

rubenalonso wrote:Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?
10€ - paypal commission.
Image

rubenalonso
Posts: 7
Joined: Sat Feb 02, 2013 10:26 am

Re: Automatic PayPal Donation System

Post by rubenalonso » Fri May 22, 2015 8:41 pm

u3games wrote:
rubenalonso wrote:Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?
10€ - paypal commission.
and how much is that paypal commision?

User avatar
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: Automatic PayPal Donation System

Post by Sdw » Fri May 22, 2015 9:36 pm


User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

Re: Automatic PayPal Donation System

Post by u3games » Wed Dec 16, 2015 8:20 pm

Any suggestions to improve or bug?

I need help in php ;)
Image

dasoldier
Posts: 73
Joined: Wed May 31, 2006 6:26 pm
Location: Holland
Contact:

Re: Automatic PayPal Donation System

Post by dasoldier » Sun Jan 17, 2016 8:14 pm

Hey U3games
Yes please, test out this version.
I have not tested the telnet function yet on a test server.
I dont have a server running right now.

1. Edit and place connection.ini outside the public domain
2. Go to system/config.php and change this file according to YOUR preferred settings
3. add sql/dc_donations.sql to your database.

EDIT: I have changed the download url.
The code is changed from mysqli to pdo.
Still working on it when i have time.
I'm new to this method of handling a database, ideas are welcome.

http://www.filedropper.com/donationcenterpdo

If anyone has any suggestions or problems let me know.

Greetings,
Dasoldier :wave:

dasoldier
Posts: 73
Joined: Wed May 31, 2006 6:26 pm
Location: Holland
Contact:

Re: Automatic PayPal Donation System

Post by dasoldier » Sun Jan 24, 2016 6:02 pm

Here i have made some more changes.
Added error logging.
Created a simple donation overview page system/admin/donateoverview.php.
Added ip security so that not anyone can access this page see config.
Now you can actually see if you are in sandbox mode.

Edit: Cleaned up the code a bit.

http://www.filedropper.com/donationcenter1-25-2016

User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

Re: Automatic PayPal Donation System

Post by u3games » Tue Jan 26, 2016 2:07 pm

dasoldier wrote:Here i have made some more changes.
Added error logging.
Created a simple donation overview page system/admin/donateoverview.php.
Added ip security so that not anyone can access this page see config.
Now you can actually see if you are in sandbox mode.

Edit: Cleaned up the code a bit.

http://www.filedropper.com/donationcenter1-25-2016
Nice work @dasoldier!

Is best create PR in git for up the code, i up ;)

https://github.com/u3games/U3G_PayPal_S ... RPG/pull/2
Image

User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

Re: Automatic PayPal Donation System

Post by u3games » Fri Jan 29, 2016 1:50 am

code up ^^
Image

dasoldier
Posts: 73
Joined: Wed May 31, 2006 6:26 pm
Location: Holland
Contact:

Re: Automatic PayPal Donation System

Post by dasoldier » Mon Feb 01, 2016 11:13 pm

Test this one out.
https://github.com/Dasoldier1/U3G_PayPal_System_MMORPG
I have added a second donation option, it is barely tested.
Ill try to add more options later on. :think:

User avatar
u3games
Posts: 1156
Joined: Sun Feb 27, 2011 7:00 pm
Location: España
Contact:

Re: Automatic PayPal Donation System

Post by u3games » Wed Feb 03, 2016 6:03 pm

dasoldier wrote:Test this one out.
https://github.com/Dasoldier1/U3G_PayPal_System_MMORPG
I have added a second donation option, it is barely tested.
Ill try to add more options later on. :think:
Plss use PR in proyect ;)

TODO: https://github.com/u3games/U3G_PayPal_S ... G/issues/3
Image

Post Reply