Automatic PayPal Donation System
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Automatic PayPal Donation System
Maby its also recommended to remove the login server check since it is not needed anymore.
I only used it to compare passwords.
I only used it to compare passwords.
-
- Posts: 13
- Joined: Sat Apr 25, 2015 1:42 am
Re: Automatic PayPal Donation System
Code: Select all
Notice: Undefined index: custom in index.php on line 21
Notice: Undefined index: custom in index.php on line 27
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
Re: Automatic PayPal Donation System
Check your files. No errors in my test.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
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Automatic PayPal Donation System
I think its because the form isnt called yet and the value is not known.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
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']);
}
-
- Posts: 7
- Joined: Sat Feb 02, 2013 10:26 am
Re: Automatic PayPal Donation System
Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
Re: Automatic PayPal Donation System
10€ - paypal commission.rubenalonso wrote:Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?
-
- Posts: 7
- Joined: Sat Feb 02, 2013 10:26 am
Re: Automatic PayPal Donation System
and how much is that paypal commision?u3games wrote:10€ - paypal commission.rubenalonso wrote:Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Automatic PayPal Donation System
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
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

-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Automatic PayPal Donation System
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
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
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
Re: Automatic PayPal Donation System
Nice work @dasoldier!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
Is best create PR in git for up the code, i up

https://github.com/u3games/U3G_PayPal_S ... RPG/pull/2
- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Automatic PayPal Donation System
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.
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.

- u3games
- Posts: 1156
- Joined: Sun Feb 27, 2011 7:00 pm
- Location: España
- Contact:
Re: Automatic PayPal Donation System
Plss use PR in proyectdasoldier 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.

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