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

[Gesior Acc] Paygol Sms Shop System For 73 Countries ! Tutorial

wladca

Member
Joined
Dec 9, 2008
Messages
641
Reaction score
6
Location
Poland,Grodzisk Mazowiecki
If you are looking for a good and working sms shop payment system for worldwide for Gesior ACC - here is it ! :)

To payout earned money you need minimum 50 EUR . You can payout to Paypal or to bank account . You can earn money from more than 73 countries from worldwide and payout money in next month ! ex. in Daopay you must wait 3 months and you have bad provisions.

I will show in a few steps how to configure this system to automatically work in your Acc Maker!​

1:
Create Account Here at First !
Now create paygol.php and copy this :

Code:
<?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_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     = "localhost"; //Your database domain
$dbuser     = "root"; //Database username
$dbpassword = "dbpass"; //Database password
$db         = "dbname"; //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);
}

?>
Next make buypoints.php file and paste this:


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>
</br>
<center><b><li>12 Premium Points for 3 EUR</li>
<li>26 Premium Points for 6 EUR</li>
<li>40 Premium Points for 9 EUR</li>
</center></b>

</br>
';

$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="10003">
 <input type="hidden" name="pg_currency" value="EUR">
 <input type="hidden" name="pg_name" value="Premium Points">

 <!-- With Option buttons -->
 <input type="radio" name="pg_price" value="1"checked>12 Premium Points 3<p>
 <input type="radio" name="pg_price" value="2">26 Premium Points 6<p>
 <input type="radio" name="pg_price" value="3">40 Premium Points 9<p>
 <input type="hidden" name="pg_return_url" value="http://myotsdomain.com/index.php?subtopic=shopsystem">
 <input type="hidden" name="pg_cancel_url" value="">
 <input type="image" name="pg_button" class="paygol" src="http://www.paygol.com/micropayment/img/buttons/125/red_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>'; 

?>


Now copy these files to the folder with your ACC Maker ex. to htdocs



2:
Now Log in to PayGol account and click create service .
Next Click Create a service for any type of web site and click START.
Change type from integrated to Multi-Price.
Sign Add text field and in Enter name of the text field write "Account number:
in Menu option name write ex. 12 Premium Points etc.. , next Price and at last how much points client will earn after payment , here you can write more option like ex. 12 Premium Points for 3 euro = 12 points , 26 Premium Points for 6 euro = 26 points etc.
Next in Url Background (IPN) write link to your paygol.php like http://myots.com/paygol.php <- This is Very Important ! If you don't write this you won't get any points !
Example:

Change myots.com to your domain or OTS IP of course !
In countries Select All , if you wanna get money from all countries and click Save.

3:

// Now edit file paygol.php !!!

your_service_id - Write your service ID From Paygol
$dbhost = "localhost"; //Your database domain
$dbuser = "username"; //Database username
$dbpassword = "pass"; //Database password
$db = "name"; //Database name

// and this buypoints.php !

pg_serviceid - Write your service ID From Paygol.
pg_currency - currency ex. EUR, USD etc.
pg_name - name of your service , near ID on site .
pg_return_url - link where it will back after payment

4:

Now go to Paygol -> my services . In settings you have 2 option , click "Testing" if you wanna check script . It must works in 100% ;) .

5:

If everything works change from Testing to Enabled and earn real money !


hf & GL !

Many thanks to Fr33q and trou for help with security of script !

___________________________________________________
if you have any problems ,questions I'll help !
 

Attachments

Last edited:
why you use normal querys in gesior?, you can use $sql->query blablabla.. instead of mysql_query
Also gesior have a function to connect to DB so you dont need to use mysql_connect...
 
I have just started my own projekt again, and I might find this very useful. Since I havn't been active in a while, I have to ask.. Is this better than DaoPay? And if yes, then why?

Thanks
 
For me is much better. I'll show you why!

1. There is a chance to payout money in next month ! (in Daopay you don't have any option ! Must wait 3 months ! )
2. Here you can check PayGol - Worldwide coverage and payouts . much better !
3. You dont need to w8 to check your new services , you can start after created !
4. You can get money from UK , in daopay you must pay for it !

I change this system from Daopay and I'm glad.
 
Nah man, doesnt matter what I do. still says Unknown IP
 
It works now.. besides you won't get any points when using it.
 
It works now.. besides you won't get any points when using it.

I'll remember I had the same problem, but with PayPal. I guess you have problem with IPN somehow, but Im not sure..

- - - Updated - - -

For me is much better. I'll show you why!

1. There is a chance to payout money in next month ! (in Daopay you don't have any option ! Must wait 3 months ! )
2. Here you can check PayGol - Worldwide coverage and payouts . much better !
3. You dont need to w8 to check your new services , you can start after created !
4. You can get money from UK , in daopay you must pay for it !

I change this system from Daopay and I'm glad.


Thanks for your reply. Seems to be much better than DaoPay, sicne I didn't even liked them before.
 
You shouldn't use this script. It's SQL-injection vulnerable.
 
If you go step by step from this tutorial it must work 100%.

He probably didnt add Url Background (IPN) to his file on paygol.

If you need some help write PM !

trou I can believe you if you will do it ! I can give you link to my site and show me ! If not ,please dont write like this...
 
Last edited:
If you go step by step from this tutorial it must work 100%.

He probably didnt add Url Background (IPN) to his file on paygol.

If you need some help write PM !

trou I can believe you if you will do it ! I can give you link to my site and show me ! If not ,please dont write like this...
send me the link then ;)
 
I send to you in PM and still nothing in logs ;-((((
but please if you will do it please use it by this system not by another ;p . anyway I'll get it on logs xD
 
If you go step by step from this tutorial it must work 100%.

He probably didnt add Url Background (IPN) to his file on paygol.

If you need some help write PM !

trou I can believe you if you will do it ! I can give you link to my site and show me ! If not ,please dont write like this...

And wtf is a "URL Background (IPN)" ? :S
 
I send to you in PM and still nothing in logs ;-((((
but please if you will do it please use it by this system not by another ;p . anyway I'll get it on logs xD

Coz to use this I would have to break law and anyways you would have my data, coz 1st I need to spend 3 euros. But believe me, this is vulnerable.
 
Yea its not secure, but you can always fix it, you used normal mysql querys, instead of gesior pdo querys, thats why,,
 
Back
Top