• 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 problem :/

Is supposed that only when you do the transaction and you receive the money into your PayPal Account, automaticaly the points get added to the x account.
 
i am testing on sandbox everything go also its rejecting to my site but no points gained

<?
$mysql_host = 'localhost'; //Leave at localhost
$mysql_user = 'root'; //DB User
$mysql_pass = 'mypashere'; //DB Pass
$mysql_db = 'mydbhere'; //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 points FROM players WHERE name = '$custom'";

$result = mysql_query($query);

$prem = mysql_fetch_array($result);

$points = $prem['points'] + 100;
// $points = mysql_query($prem)
$qry2 = "UPDATE players SET points = '$points' WHERE name = '$custom'";

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


db & password for sure is good i use name not account number to check & add points, can you look is it good?
also i use table points (in players) not premium points (accounts)
 
I can see the error ;))))

paypal/ipn/ipn.php add this ips bcz you need to allow them xD, '173.0.81.1', '173.0.81.33'

REP++ if i helped
 
$ip = $_SERVER['REMOTE_ADDR'];
if(!in_array($ip, array('66.211.170.66', '216.113.188.202', '216.113.188.203', '216.113.188.202', '173.0.81.1', '173.0.81.33'))) {
exit;
}

Bcz i got same error so i added them and it work :P, for my friend to So come to me i can show you what i talk about my lover
I got this AND IT WORK so KORREX come come come come <3 ;P
 
Sorry!, You got a older version on PayPal Script :D!!!,

- - - Updated - - -

And if you don't have time to accept the transaction, add currency, if you use euro add it :P then
 
Back
Top