wladca
Member
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!
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);
}
?>
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
-
paygol.jpg12.3 KB · Views: 442 · VirusTotal
Last edited: