Page 2 of 3

Re: Automatic PayPal Donation System

Posted: Tue May 12, 2015 7:59 pm
by dasoldier
Maby its also recommended to remove the login server check since it is not needed anymore.
I only used it to compare passwords.

Re: Automatic PayPal Donation System

Posted: Wed May 13, 2015 12:31 am
by orophix

Code: Select all

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

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

Re: Automatic PayPal Donation System

Posted: Wed May 13, 2015 12:48 am
by u3games
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.

Re: Automatic PayPal Donation System

Posted: Wed May 13, 2015 7:56 pm
by dasoldier
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.

Re: Automatic PayPal Donation System

Posted: Fri May 22, 2015 12:02 pm
by rubenalonso
Hi All
One question
if someone donate for example 10€ i get 10€? or i get a % of the total amount?

Re: Automatic PayPal Donation System

Posted: Fri May 22, 2015 1:14 pm
by u3games
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.

Re: Automatic PayPal Donation System

Posted: Fri May 22, 2015 8:41 pm
by rubenalonso
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?

Re: Automatic PayPal Donation System

Posted: Fri May 22, 2015 9:36 pm
by Sdw

Re: Automatic PayPal Donation System

Posted: Wed Dec 16, 2015 8:20 pm
by u3games
Any suggestions to improve or bug?

I need help in php ;)

Re: Automatic PayPal Donation System

Posted: Sun Jan 17, 2016 8:14 pm
by dasoldier
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:

Re: Automatic PayPal Donation System

Posted: Sun Jan 24, 2016 6:02 pm
by dasoldier
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

Re: Automatic PayPal Donation System

Posted: Tue Jan 26, 2016 2:07 pm
by u3games
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

Re: Automatic PayPal Donation System

Posted: Fri Jan 29, 2016 1:50 am
by u3games
code up ^^

Re: Automatic PayPal Donation System

Posted: Mon Feb 01, 2016 11:13 pm
by dasoldier
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:

Re: Automatic PayPal Donation System

Posted: Wed Feb 03, 2016 6:03 pm
by u3games
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