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

[Znote Acc]v1.5 paygol dont send point

samuelav3

Member
Joined
Aug 18, 2014
Messages
95
Reaction score
5
Hey friend when someone sends me a message reaches them money per point did not come help me please




config.php
Code:
    //////////////////
    ///     SMS ///
    //////////////////
    // !!! Paygol takes 60%~ of the money, and send aprox 40% to your paypal.
    // You can configure paygol to send each month, then they will send money
    // to you 1 month after recieving 50+ eur.
    $config['paygol'] = array(
        'enabled' => true,
        'serviceID' => 104926,// Service ID from paygol.com
        'currency' => 'EUR',
        'price' => 1,
        'points' => 45, // Remember to write same details in paygol.com!
        'name' => '45 points',
        'returnURL' => "http://".$_SERVER['HTTP_HOST']."/success.php",
        'cancelURL' => "http://".$_SERVER['HTTP_HOST']."/failed.php",
        'ipnURL' => "http://".$_SERVER['HTTP_HOST']."/paygol_ipn.php"
    );
 
check on the ipn and buy points php to have myqli, it says mysql but it should be mysqli so it can fetch the database and send the points.
 
paygol_ipn.php
Code:
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);
}
buypoints.php
Code:
<h2>Buy points using Paygol</h2>
<?php $paygol = $config['paygol']; ?>
<p><?php echo $paygol['price'] ." ". $paygol['currency'] ."~ for ". $paygol['points'] ." points:"; ?></p>
<form name="pg_frm" method="post" action="https://www.paygol.com/pay" >
   <input type="hidden" name="pg_serviceid" value="104926">
   <input type="hidden" name="pg_currency" value="EUR">
   <input type="hidden" name="pg_name" value="xxxx">
   <input type="hidden" name="pg_custom" value="">
   <input type="hidden" name="pg_price" value="1">
   <input type="hidden" name="pg_return_url" value="http://xxxx/shop.php">
   <input type="hidden" name="pg_cancel_url" value="">
   <input type="image" name="pg_button" src="https://www.paygol.com/micropayment/img/buttons/150/black_en_pbm.png" border="0" alt="" title="" >   
</form>
 
can you be more specific please
i use windowns

Then that dosen't matter. Are you setting paypal up correctly? There are like 3-5 diffrent types you can use on the paygol website.
Have you done any modifications to the paygol scripts?
 
Then that dosen't matter. Are you setting paypal up correctly? There are like 3-5 diffrent types you can use on the paygol website.
Have you done any modifications to the paygol scripts?
i change it
Code:
<form name="pg_frm" method="post" action="https://www.paygol.com/pay" >
   <input type="hidden" name="pg_serviceid" value="104926"> <--------------------
   <input type="hidden" name="pg_currency" value="EUR">
   <input type="hidden" name="pg_name" value="xxxx">   <-------------
   <input type="hidden" name="pg_custom" value="">
   <input type="hidden" name="pg_price" value="1">
   <input type="hidden" name="pg_return_url" value="http://xxxx/shop.php"> <--------------
   <input type="hidden" name="pg_cancel_url" value="">
   <input type="image" name="pg_button" src="https://www.paygol.com/micropayment/img/buttons/150/black_en_pbm.png" border="0" alt="" title="" >  
</form>
nothing more
 
i change it
Code:
<form name="pg_frm" method="post" action="https://www.paygol.com/pay" >
   <input type="hidden" name="pg_serviceid" value="104926"> <--------------------
   <input type="hidden" name="pg_currency" value="EUR">
   <input type="hidden" name="pg_name" value="xxxx">   <-------------
   <input type="hidden" name="pg_custom" value="">
   <input type="hidden" name="pg_price" value="1">
   <input type="hidden" name="pg_return_url" value="http://xxxx/shop.php"> <--------------
   <input type="hidden" name="pg_cancel_url" value="">
   <input type="image" name="pg_button" src="https://www.paygol.com/micropayment/img/buttons/150/black_en_pbm.png" border="0" alt="" title="" > 
</form>
nothing more

Im not sure at all with Znote I prefer gesior 2012. But this can't be right... The pg_custom is supposed to contain the account id of the logged user. Are you sure the pg_serviceId is correct?
 
Back
Top