Forum nie tylko o Tibii i OTS...

Nie tylko o Tibii i OTS...

  • Nie jesteś zalogowany.
  • Polecamy: Gry

  • Index
  •  » Skrypty do OTS
  •  » Gesior ACC PayGol Gotowy SMS Shop System dla Polakow i Zagranicy !

#1 2012-10-11 12:26:16

wladca

http://i37.tinypic.com/okc0lk.gif

Zarejestrowany: 2012-10-11
Posty: 1

Gesior ACC PayGol Gotowy SMS Shop System dla Polakow i Zagranicy !

Jesli szukasz automatycznego skryptu platnosci dla Polski i krajow zagranicznych dla Twojego Gesior ACC to swietnie trafiles !

Do wyplaty potrzebne jest minimum 50 EUR  , ktore mozecie wyplacic na Paypal lub konto bankowe. Najwieksza zaleta jest wyplata nawet po 1 miesiacu ! a nie jak np. w DaoPay po 3. Prowizje tez sa niezle , oraz przyjmowanie platnosci z 73 krajow !

W kilku krokach opisze jak poprawnie skonfigurowac skrypt aby dzialal bezproblemowo i automatycznie na twoim Acc Makerze !

1:
Najpierw zarejestruj sie tutaj !

Kod:

http://www.paygol.com/register?affiliatecode=T8Y7-LK0M-NY0R-Y6O3

Teraz stworz plik paygol.php i wklej to :

Kod:

<?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");
}
  

// 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

//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);

?>

Nastepnie stworz plik np. buypoints.php i wklej to:


Kod:

<?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>5 VIP Points for 8 EUR</li>
<li>15 VIP Points for 20 EUR</li>
<li>30 VIP Points for 35 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="PLN">
 <input type="hidden" name="pg_name" value="VIP Points">

 <!-- With Option buttons -->
 <input type="radio" name="pg_price" value="1">5 VIP Points 8<p>
 <input type="radio" name="pg_price" value="2">15 VIP Points 20<p>
 <input type="radio" name="pg_price" value="3">30 VIP Points 35<p>
 <input type="hidden" name="pg_return_url" value="">
 <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>'; 

?>

Teraz skopiuj te pliki do folderu z Twoim ACC Makerem np. do htdocs



2:
Zaloguj sie na konto PayGol i kliknij create service .
Teraz kliknij na Create a service for any type of web site i wcisnij START.
Zmien type z integrated do Multi-Price.
Zaznacz Add text field i w Enter name of the text field wpisz "Account number:"
w Menu option name wpisz np. Donation 1 itd. , potem cene ( Price ) i na koncu ile punktow klient ma dostac ( Points/Coins ) , tutaj mozesz wpisac kilka opcji  np. donation 1 za 1 euro = 10 pkt , donation 2 za 2 euro = 25 pkt itd.
Nastepnie w Url Background (IPN) wpisz link do swojego otsa z koncowka /index.php?subtopic=paygol  np.

Kod:

http://mojadomena.pl/index.php?subtopic=paygol

Zamiast mojadomena wpisz swoja lub IP !
W countries wybierz Select All , jesli chcesz przyjmowac platnosci ze wszystkich dostepnych krajow i kliknij Save.
W index.php w Acc Makerze dodaj np po   

Kod:

case "characters";
                $topic = "Characters";
                $subtopic = "characters";
                include("characters.php");
        break;

ten kod

Kod:

case "paygol";
                $topic = "Paygol";
                $subtopic = "paygol";
                include("paygol.php");
        break;

3:

// Teraz musimy edytowac Twoj plik paygol.php !!!

$dbhost     = "localhost"; //Your database domain
$dbuser     = "username"; //Database username
$dbpassword = "pass"; //Database password
$db         = "name"; //Database name

// oraz plik buypoints.php !

pg_serviceid - na Twoj podany ID na stronie paygol w myservices
pg_currency - jaka waluta
pg_name - nazwa , obok ID .
oraz VIP Points na nazwe ktora wpisales w pkt.2 np Donation 1,2 itd oraz value czyli ile punktow ma klient dostac i najlepiej opisac ile punktow klient dostanie po zaplaceniu.

4:

Teraz idz do Paygol -> my services . W settings masz 2 opcje wcisnij "Testing" jesli chcesz sprawdzic czy skrypt dziala ,jesli robiles tak jak napisalem wyzej bedzie dzialac na 100% .

5:

Jesli wszystko dziala mozesz zmienic z Testing na Enabled i zarabiac prawdziwe pieniadze !


hf & GL !

___________________________________________________
Jesli chcecie jakas pomoc prosze pisac w tym poscie , postaram sie pomoc

Offline

 
  • Index
  •  » Skrypty do OTS
  •  » Gesior ACC PayGol Gotowy SMS Shop System dla Polakow i Zagranicy !

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
przegrywanie kaset vhs warszawa