How To Setup:
@Since I've been inactive for a while from OT I cannot answer if this script works today, but now I'm back and hopefully I will as soon as possible check this out if it works, and if not I'll see if I can come up with something new & better.
1. Begin to edit all these at paypal.html (amount means how much they will donate in EUR)
2. Do not touch the .htaccess file because the PayPal servers won't be able to reach the script and then it will not work
3. Setup the connection at ipn/ipn.php to MySQL
4. At line 14 at ipn/ipn.php, change this to your PayPal email
5. At line 22 at ipn/ipn.php, change the value to how much points you want to give the player that donated
That means that the donator will get 12 points at his account automatically.
TO MAKE IT WORK FOR TFS 0.2 CLICK HERE
ENJOY!
@Since I've been inactive for a while from OT I cannot answer if this script works today, but now I'm back and hopefully I will as soon as possible check this out if it works, and if not I'll see if I can come up with something new & better.
1. Begin to edit all these at paypal.html (amount means how much they will donate in EUR)
Code:
<input type="hidden" name="business" value="[B][email protected][/B]">
<input type="hidden" name="item_name" value="[B]YOURITEMNAME[/B]">
<input type="hidden" name="amount" value="[B]10.0[/B]">
<input type="hidden" name="notify_url" value="[B]http://www.YOURADDRESS.com/ipn/ipn.php[/B]">
<input type="hidden" name="return" value="[B]http://www.YOURADDRESS.com[/B]">
3. Setup the connection at ipn/ipn.php to MySQL
Code:
$mysql_host = 'localhost'; //Leave at localhost
$mysql_user = 'root'; //DB User
$mysql_pass = ''; //DB Pass
$mysql_db = ''; //DB Name
Code:
if ($payment_status == "Completed" & $receiver_email == "[B][email protected][/B]") {
Code:
$points = $prem['premium_points'] + [B]12[/B];
TO MAKE IT WORK FOR TFS 0.2 CLICK HERE
ENJOY!
Last edited: