• 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]

Great work !

but what when im finish with everything .. how will i add it to my homepage?
 
i have a problem..
people who donate don't receive the points..
i already approved the ipn in paypal
can someone help?
 
what should i put for this?


PHP:
<input type="hidden" name="notify_url" value="http://www.YOURADDRESS.com/ipn/ipn.php">
 
my players dont get points then they donate why? i use 0.2 version and i have done the changes in the file!
 
It depends what currency ur acc is set for example :
I had USA DOLLARS BUT the donations were in EUR so
JUST Change it to ur currency.
 
Gz, with your script I can give points to myself by poisoning the request..
Security: 1/10
Code: 1/10 ( learn OOP plzzz )
Overall: 1/10

Thanks.
 
Gz, with your script I can give points to myself by poisoning the request..
Security: 1/10
Code: 1/10 ( learn OOP plzzz )
Overall: 1/10

Thanks.

Then gz your brain and your knowledge huehueue, script is 99.99% safe hueeue

EDIT: Noone forces you to use this script, it's released for free, write better or stay where you are
 
Last edited:
Then gz your brain and your knowledge huehueue, script is 99.99% safe hueeue


Do not release if you don't know to code.
Code:
<?
$mysql_host = 'localhost'; //Leave at localhost
$mysql_user = 'root'; //DB User
$mysql_pass = ''; //DB Pass
$mysql_db = ''; //DB Name

$custom = stripslashes(ucwords(strtolower(trim($_REQUEST['custom']))));
$receiver_email = $_REQUEST['receiver_email'];
$payment_status = $_REQUEST['payment_status'];
// connect db

$db = mysql_connect($mysql_host, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db, $db);
if ($payment_status == "Completed" & $receiver_email == "[email protected]") {

$query = "SELECT premium_points FROM accounts WHERE accounts.name = '$custom'";

$result = mysql_query($query);

$prem = mysql_fetch_array($result);

$points = $prem['premium_points'] + 12;
// $points = mysql_query($prem)
$qry2 = "UPDATE accounts SET premium_points = '$points' WHERE accounts.name = '$custom'";

$result2 = mysql_query($qry2);
}
else
 { 
 echo("Error.");
 }
?>

Let's analyze, what 's gonna happen if I'll do a POST request with variables:
- POST: receiver_email - mail from a paypal form
- POST: payment_status - "Completed"
- POST: custom - My_Account_Name

Start and cry after script adds points even if you didn't paid.

Gz brain.
 
@Edit
After checking the .htaccess it seems to be seucer,but doing it THAT way purely sucks and isn't recommended.
 
You are not Einstein, believe me.
http://otland.net/242848-post5.html
Noone is perfect at the beginning but it was known agggeeees ago.
You didn't see the next bug :)
What if I donate 0.1$ and ask PayPal to notify someone's script? :) Ohhh, yeeeaaa, it was also known ages ago.
Take care!
 
After i installed this, should i just activate shop system on my site? Or how do i make it come to the menu?
 
what am i supposed to put for this?



PHP:
<input type="hidden" name="notify_url" value="http://67.171.227.26/ots.4za.pl/ipn/ipn.php">
<input type="hidden" name="return" value="http://www.YOURADDRESS.com">
 
can anyone answear how to fix. when pepole pay & dont recieve their points :) would be happy for a respond
 
Back
Top