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

Solved DaoPay PROBLEMS!

Tickit

Member
Joined
Feb 20, 2009
Messages
364
Reaction score
5
Location
Somewhere in the jungle of Sweden
Goto Buypoints and change https to http :) That worked for me.




Got this errors when im trying to use my Pin code on my own ot:

Warning: fopen(https://daopay.com/svc/pincheck?appcode=57342&prodcode=300&pin=zeesaidahw) [function.fopen]: failed to open stream: No error in C:\xampp\htdocs\buypoints.php on line 52

Errors occured:
* Server has problem with connection to daopay.com, can't verify PIN code

Function:
PHP:
function check_code_daopay($appcode, $prodcode, $pin)
{
	$handle = fopen("https://daopay.com/svc/pincheck?appcode=".$appcode."&prodcode=".$prodcode."&pin=".$pin, 'r');  
	if ($handle)
	{
	    $status = fgets($handle, 128);
		fclose($handle);
		if($status[0] == 'o' && $status[1] == 'k')
			$return = 1;
		else
			$return = 2;
	}
	else
		$return = 3;
	return $return;
}
 
Last edited:
The ip-addres not the .no-ip.org

Your server has to do an request towards daopay, for daopay the ip doing the request has to be set.

Just use your global ip-address and its fine.
 
Hi Lillebear,

This seems to be a case for our integrations specialst here at DaoPay. Please contact Paul at meet (at) daopay.com.

Cheers,
DaoArnold
 
Maybe this work


Code:
function check_code_daopay($appcode, $prodcode, $pin)
{
    $handle = fopen("http://daopay.com/svc/pincheck?appcode=".$appcode."&prodcode=".$prodcode."&pin=".$pin, 'r');  
    if ($handle)
    {
        $status = fgets($handle, 128);
        fclose($handle);
        if($status[0] == 'o' && $status[1] == 'k')
            $return = 1;
        else
            $return = 2;
    }
    else
        $return = 3;
    return $return;
}
 
Back
Top