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

Zaypay Gesior 1.0.1 - Players pay but wont get points

Lightonia

Lightonia.servegame.com
Joined
Jun 4, 2007
Messages
492
Reaction score
9
Hi Players pay but they wont get their points. The only error i get is
Code:
*bugged config*

So here are the scripts
Zaypay/config
PHP:
<?php
$options[1]['name'] = 'Buy 250 premium points';
$options[1]['payalogue_id'] = 131063;
$options[1]['price_id'] = 146135 ;
$options[1]['price_key'] = '19c44dcce29c6d8ea052bb27978dfc87';
$options[1]['points'] = 250;

$options[2]['name'] = 'Buy 600 premium points';
$options[2]['payalogue_id'] = 131065;
$options[2]['price_id'] = 148481;
$options[2]['price_key'] = 'ba9e3708bead611eff18edd635dae1d9';
$options[2]['points'] = 600;

$options[3]['name'] = 'Buy 1300 premium points';
$options[3]['payalogue_id'] = 131067;
$options[3]['price_id'] = 148495;
$options[3]['price_key'] = '530d08ee74868b55351d139af20a1156';
$options[3]['points'] = 1300;

Zaypay_report
PHP:
 <?php
if(!defined('INITIALIZED'))
	exit;

require_once('./custom_scripts/zaypay/config.php');

if(isset($_GET['payment_id']) && isset($_GET["price_setting_id"]) && isset($options[$_GET["price_setting_id"]]))
{
	$option = $options[$_GET["price_setting_id"]];
	$zaypay = new Zaypay($option['price_id'], $option['price_key']);
	$zaypay_info = $zaypay->show_payment($_GET['payment_id']);
	if($zaypay_info["payment"]["status"] == 'paid' && !file_exists('./custom_scripts/zaypay/used_codes/zay_id_' . $zaypay_info["payment"]["id"]. '.txt'))
	{
		$_acc = explode('=', $zaypay_info["payment"]["your-variables"]);
		$acc = $_acc[1];
		if(file_put_contents('./custom_scripts/zaypay/used_codes/zay_id_' . $zaypay_info["payment"]["id"]. '.txt' , 'account:' . $acc . ',amount-euro:' . $zaypay_info["payment"]["amount-euro"] . ',points:' . $option['points']) !== false)
		{
			$account = new Account($acc);
			if($account->isLoaded())
			{
				$account->set('premium_points', ($account->getCustomField('premium_points')+$number_of_points));
				$account->save();
			}
			echo '*ok*';
			exit;
		}
		else
		{
			echo '*cannot save code to folder used_codes*';
			exit;
		}
	}
	else
	{
		echo '*code already used*';
		exit;
	}
}
echo '*bugged config*';
exit;

Whats wrong?
 
Try with this config.

PHP:
<?php 
$options[146135]['name'] = 'Buy 250 premium points'; 
$options[146135]['payalogue_id'] = 131063; 
$options[146135]['price_id'] = 146135; 
$options[146135]['price_key'] = '19c44dcce29c6d8ea052bb27978dfc87'; 
$options[146135]['points'] = 250; 

$options[148481]['name'] = 'Buy 600 premium points'; 
$options[148481]['payalogue_id'] = 131065; 
$options[148481]['price_id'] = 148481; 
$options[148481]['price_key'] = 'ba9e3708bead611eff18edd635dae1d9'; 
$options[148481]['points'] = 600; 

$options[148495]['name'] = 'Buy 1300 premium points'; 
$options[148495]['payalogue_id'] = 131067; 
$options[148495]['price_id'] = 148495; 
$options[148495]['price_key'] = '530d08ee74868b55351d139af20a1156'; 
$options[148495]['points'] = 1300;
 
PHP:
if(isset($_GET['payment_id']) && isset($_GET["price_setting_id"]) && isset($options[$_GET["price_setting_id"]]))

The payment wont get past this line.... i guess something is wrong the price_setting_id doesnt match the one in your config

I dont know which ids they got or something but the breakpoint is there on that line
 
This is my newly updated one.. still don't work.

PHP:
 <?php
$options[146135]['name'] = 'Buy 250 premium points';
$options[146135]['payalogue_id'] = 131063;
$options[146135]['price_id'] = 146135 ;
$options[146135]['price_key'] = '19c44dcce29c6d8ea052bb27978dfc87';
$options[146135]['points'] = 250;

$options[148481]['name'] = 'Buy 600 premium points';
$options[148481]['payalogue_id'] = 131065;
$options[148481]['price_id'] = 148481;
$options[148481]['price_key'] = 'ba9e3708bead611eff18edd635dae1d9';
$options[148481]['points'] = 600;

$options[148495]['name'] = 'Buy 1300 premium points';
$options[148495]['payalogue_id'] = 131067;
$options[148495]['price_id'] = 148495;
$options[148495]['price_key'] = '530d08ee74868b55351d139af20a1156';
$options[148495]['points'] = 1300;
 
I have the right report_url on the gesior HomePage i guess
Code:
http://lightonia.servegame.com/zaypay_report.php

I have contacted gesior about this bug but no answer.
I guess too many People PM gesior.

- - - Updated - - -

Bump
 
there is people play in server could be scammers and tell you they donate and no get points but they lie , you tested it by your ownself?
because there no reason to do that bug
 
Back
Top