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

Paygold SCRIPT ERROR ?!

tavax

New Member
Joined
Apr 29, 2009
Messages
17
Reaction score
2
Hello, i tried use paygold but i dont know why i dont recive my points i use testing mode. and i recive e-mail and return to the page but i dont recive mt points.

Scripts.

Code:
<?php



// check that the request comes from PayGol server
if(!in_array($_SERVER['REMOTE_ADDR'],
  array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) {
  header("HTTP/1.0 403 Forbidden");
  die("Error: Unknown IP");
}



//Get all parameters from PayGol
$message_id	= $_GET[message_id];
$shortcode	= $_GET[shortcode];
$keyword		= $_GET[keyword];
$message		= $_GET[message];
$sender			= $_GET[sender];
$operator		= $_GET[operator];
$country		= $_GET[country];
$custom	    = $_GET[custom];//
$price			= $_GET[price];
$currency		= $_GET[currency];
$points		  = $_GET[points];

//Replace these parameters by your database details
$dbhost     = "XXXXXXXXXXX"; //Your database domain
$dbuser     = "XXXXXXXXXXXX"; //Database username
$dbpassword = "XXXXXXXXXXXX"; //Database password
$db         = "XXXXXXXXXXXXXXXX"; //Database name

//Connect to Database
$conn = mysql_connect($dbhost, $dbuser, $dbpassword);
mysql_select_db($db);

$sql = "UPDATE accounts SET premium_points = premium_points+$points WHERE name = '$custom'";
mysql_query($sql);

mysql_close($conn);

?>

Code:
<?PHP


$main_content .= '
<b>SMS DONATION</b></CENTER><br /><br />

<ol>
	<li>Enter your account number.</li>
	<li>Choose your payment price.</li>
	<li>Click on the red Pay by mobile button.</li>
	<li>Follow the instructions.</li>
	<li>Your points will be added automatically.</li>

</ol>
-Click on image:


';

$main_content .= '<center>
<!-- PayGol JavaScript -->
<script src="http://www.paygol.com/micropayment/js/paygol.js" type="text/javascript"></script> 

<!-- PayGol Form -->
<form name="pg_frm">
 Enter account number:<p>
 <input type="text" name="pg_custom" value=""><p>
 <input type="hidden" name="pg_serviceid" value="34943">
 <input type="hidden" name="pg_currency" value="EUR">
 <input type="hidden" name="pg_name" value="Tera Points">

 <!-- With Option buttons -->
 <input type="radio" name="pg_price" value="1"checked>&euro;1,00 - 35 points<p>
 <input type="radio" name="pg_price" value="2">&euro;2,00 - 100 points<p>
 <input type="radio" name="pg_price" value="3">&euro;4,00 - 220 points<p>
 <input type="hidden" name="pg_return_url" value="http://tera-online860.servegame.com/">
 <input type="hidden" name="pg_cancel_url" value="http://tera-online860.servegame.com/">
<input type="hidden" name="pg_notify_url" value="http://tera-online860.servegame.com/paygol.php">

 <input type="image" name="pg_button" class="paygol" src="http://www.paygol.com/micropayment/img/buttons/175/yellow_en_pbm.png" border="0" alt="Make payments with PayGol: the easiest way!" title="Make payments with PayGol: the easiest way!" onClick="pg_reDirect(this.form)">
</form>  </center>'; 

?>


any error?

someone can help me pls
 
Back
Top