• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

paygol service

megazx

Graphic designer
Joined
Mar 4, 2013
Messages
444
Solutions
2
Reaction score
32
Location
Egypt
Hello Otland
i Use Gesior 2012 latest one

and i Have a problem with paygol gesior refused to help unless any one pay money
i dont blame him

the old way dont work in the latest gesior acc

this is the script that i used
PHP:
<?php
/*

Note:Before starting you have to create an account at http://www.paygol.com/register?affiliatecode=T8Y7-LK0M-NY0R-Y6O3

*/

// 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");
}
// CONFIG
$your_service_id = *****;  // Your service ID from Paygol

// get the variables from PayGol system
$message_id    = $_GET['message_id'];
$service_id    = $_GET['service_id'];
$shortcode    = $_GET['shortcode'];
$keyword    = $_GET['keyword'];
$message    = $_GET['message'];
$sender    = $_GET['sender'];
$operator    = $_GET['operator'];
$country    = $_GET['country'];
$custom    = $_GET['custom'];
$points    = $_GET['points'];
$price    = $_GET['price'];
$currency    = $_GET['currency'];

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

if ($your_service_id == $service_id) {
    //Connect to Database
    $conn = mysql_connect($dbhost, $dbuser, $dbpassword);
    mysql_select_db($db);
    $sql = "UPDATE accounts SET premium_points = premium_points+'".mysql_real_escape_string($points)."' WHERE name = '".mysql_real_escape_string($custom)."'";
    mysql_query($sql);

    mysql_close($conn);
}

?>

and this

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

<!-- PayGol Form -->
<form name="pg_frm">
<input type="hidden" name="pg_serviceid" value="*****">
<input type="hidden" name="pg_currency" value="EUR">
<input type="hidden" name="pg_name" value="dontion">
<input type="hidden" name="pg_custom" value="">

<!-- With Option buttons -->
<input type="radio" name="pg_price" value="1"checked>buy 200 point for 2<p>
<input type="radio" name="pg_price" value="2">buy 650 point for 6<p>
<input type="radio" name="pg_price" value="3">buy 900 point for 8<p>
<input type="hidden" name="pg_return_url" value="http://yourdomain/?subtopic=shopsystem">
<input type="hidden" name="pg_cancel_url" value="http://yourdomain/?subtopic=latestnews">
<input type="image" name="pg_button" class="paygol" src="http://www.paygol.com/micropayment/img/buttons/150/black_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>

did all right then it didnt appear in the buypoints page becuse the new gesior work with http://yourdomain/?subtopic=buypoints

not like the old one that http://yourdomain/pages/paygolshop.php

so if any one can help Rep+ Thx
 
Back
Top