• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

PayPal Script [RELEASE]

Artii

Seldora.net
Joined
Jan 31, 2009
Messages
1,259
Reaction score
38
Location
Sweden
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)
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]">
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
Code:
$mysql_host = 'localhost'; //Leave at localhost
$mysql_user = 'root'; //DB User
$mysql_pass = ''; //DB Pass
$mysql_db = ''; //DB Name
4. At line 14 at ipn/ipn.php, change this to your PayPal email
Code:
if ($payment_status == "Completed" & $receiver_email == "[B][email protected][/B]") {
5. At line 22 at ipn/ipn.php, change the value to how much points you want to give the player that donated
Code:
$points = $prem['premium_points'] + [B]12[/B];
That means that the donator will get 12 points at his account automatically.

TO MAKE IT WORK FOR TFS 0.2 CLICK HERE



ENJOY!
 
Last edited:
nice, dude ;), rep++ for that, you bought this script and you release that, not as others nubs that want everything for money. : *
 
heh, first version of my script.
Enjoy it and don't remove .htaccess. ^^
 
Last edited:
Thanks alot Artii Rep++++ all day lol. What value what you change it to to make it USD?
 
PayPal.html
<input type="hidden" name="currency_code" value="EUR">

Change it to

<input type="hidden" name="currency_code" value="USD">
 
Although I will not use it, thanks for releasing to the community.
Your reputation has been increased. ^^
 
Warning*

This file isen't sql injection save!
Please use mysql_real_escape_string for security
 
Yes like Mokerhamer said..

Not save and you could lose payments :S
 
i dont understand this? it gives free points? persenal message me please
 
Last edited:
Back
Top