Belsysteem

Gestart doorLego17 reacties99 weergaven

18 berichten · pagina 1 van 2

Lego

Lid · Topicstarter

Berichten
160
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo,
Heeft er meschien iemand een belsysteem van targetpay ??
Om credits te bestelen ??
Voor in mn game.
Of zou iemand mij dat willen helpen ??
Dat is via de targetpay api...
0
Berichten
3.425
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wat voor game is het?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Wat heb je al geprobeerd?

toevoeging op 6 mei 2012, 22:01:23:
Riick schreef:
Wat voor game is het?
het lijkt me alleen relevant als er verteld wordt in welke programmeertaal het geschreven is. maar ik zet in op PHP.
0
Berichten
3.425
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Maar ik bedoel als het bijvoorbeeld voor een retro is dan weten de scripters waar ze mee bezig zijn etc.
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Riick schreef:
Maar ik bedoel als het bijvoorbeeld voor een retro is dan weten de scripters waar ze mee bezig zijn etc.
Een Habbo retro, neem dan even contact met sulake op.

info@sulake.com, die kunnen je uitsluitend verder helpen.
0
Lego

Lid · Topicstarter

Berichten
160
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nee voor een game waar met credits word gewerkt zoals criminals enzo...
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Ah, wat heb je al geprobeerd?
Als ik hier zo kijk (hier dus: https://www.targetpay.com/info/0900) dan zie ik toch een hoop linkjes staan die naar diverse technische documentatie verwijzen. Dus ik mag aannemend at je al **iets** geprobeerd hebt?
0
Lego

Lid · Topicstarter

Berichten
160
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nou ik heb de apies enzo..

ik heb zo die gegevens op target ingevult maar ik weet niet hoe ik deze in een script kan werken mvg
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Wat heb je al aan **relevante**code?
0
Lego

Lid · Topicstarter

Berichten
160
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoe bedoel je
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Lego schreef:
Hoe bedoel je
Zoals ik zeg.... hint: vandale.nl en even zoeken op relevant.. et voila...
0
Lego

Lid · Topicstarter

Berichten
160
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nou ik heb dus in pagina creditsbestelen de api gebouwt..
Maar hij doet het niet cry
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ben eens wat concreter.. Wat werkt er niet, hoe ziet je pagina creditsbestellen eruit, hoe heb je de api erin gebouwd..

Je zal ons toch van iets meer informatie moeten voorzien willen we je kunnen helpen..

P.S. Ik mag hopen dat je pagina creditsbestellen heet en niet creditsbestelen emo
0
Lego

Lid · Topicstarter

Berichten
160
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
pay.php heet hij (foutje)

[COLOR= #0000BB]<?php[/COLOR] 


  [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]_include-config.php[/COLOR][COLOR= #007700]);[/COLOR]


?>

<html>
<head>

  <body style="background: #808080; margin: 0px">
  <link rel="stylesheet" type="text/css" href="css-v1.css">

</head>

</font>

<table align=center width=100%>
  <tr><td class=mainTxt>
<font color="Red">Klik op Uitgeven  <a href="creditshop.php"><b> Uitgeven</b></a> om u Credits te gebruiken</font>
</table>
<table align=center width=100%>
  <tr><td class=subTitle><font color="#000000"><b>Belservice</b></font></td></tr>
  <tr><td class=mainTxt>
Welkom in de belservice. Hier kun je belcredits bestellen.<br>
&nbsp;<img border="0" src="nl.gif" width="18" height="12"> Bel naar <b>0909-8356</b>, 
en dan hoor je de 6cijferige pincode!&nbsp; (<font size="1">&#8364;1,30 per gesprek).
</font>
<br>
&nbsp;<img border="0" src="be.gif" width="18" height="12"> Bel naar <b>
0903-36062</b>, en dan hoor je de 6cijferige pincode!&nbsp; <font size="1">(&#8364; 
1,12 per minuut, +- 80 sec.). </font> 
<br>
Als je hier gebruik van maakt, vraag dan altijd toestemming aan de bezitter van 
de telefoon. <i>Wij zijn niet aansprakelijk voor welke schade dan ook.</i><br>
<br>
Het is handig dat je de pincode(s) opschrijft. Zodat je ze niet kunt vergeten!<br>
Een pincode is maar 1x te gebruiken<br>
<br>
<font color="#FF0000" size="1" face="Verdana">

<br>
<h5>
</tr>
</table>

<table align=center width=400>
  <tr><td class=mainTxt>

[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]/**
* 
* IVR Example, on how to use the IVR Class
* 
* SVE
* 
* 11-01-2009 
* 
* 
*/[/COLOR]

[URL="http://www.php.net/ini_set"]ini_set[/URL] [COLOR= #007700]([/COLOR] [COLOR= #DD0000]display_errors[/COLOR] [COLOR= #007700],[/COLOR] [COLOR= #DD0000]1[/COLOR][COLOR= #007700]);[/COLOR]

[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #007700]([/COLOR] [COLOR= #DD0000]TargetPayIvr.class.php[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #FF8000]# Set your rtlo here[/COLOR]
[COLOR= #0000BB]$iRtlo[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]76817[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #FF8000]# To initiate a payment, initiate the class[/COLOR]
[COLOR= #0000BB]$oIvr[/COLOR] [COLOR= #007700]= new[/COLOR] TargetPayIvr [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$iRtlo[/COLOR] [COLOR= #007700]);[/COLOR]

[COLOR= #FF8000]# Please refer to the documenataion for valid values for these parameters
# REQUIRED Set domain[/COLOR]
[COLOR= #0000BB]$oIvr[/COLOR][COLOR= #007700]->[/COLOR]setDomain [COLOR= #007700]([/COLOR] [COLOR= #DD0000]ivrExampleV2.php[/COLOR][COLOR= #007700]);[/COLOR]


[COLOR= #FF8000]// per minute [/COLOR]
[COLOR= #0000BB]$samecodes[/COLOR][COLOR= #007700]=[/COLOR]false[COLOR= #007700];[/COLOR]


[COLOR= #FF8000]/**
* This function will validate the payment
* 
*/[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR] [URL="http://www.php.net/isset"]isset[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]action[/COLOR][COLOR= #007700]] ) &&[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]action[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]validate[/COLOR] [COLOR= #007700]&&[/COLOR] [URL="http://www.php.net/isset"]isset[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]payline[/COLOR][COLOR= #007700]] ) &&[/COLOR] [URL="http://www.php.net/isset"]isset[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]paycode[/COLOR][COLOR= #007700]] ) ) {[/COLOR]
    [COLOR= #FF8000]# Init the class[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$oIvr[/COLOR][COLOR= #007700]->[/COLOR]validatePayment [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]payline[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]paycode[/COLOR][COLOR= #007700]]  ) ==[/COLOR] true [COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Payment completed successfully[/COLOR][COLOR= #007700];[/COLOR]  
        [URL="http://www.php.net/die"]die[/URL][COLOR= #007700](); 
    }[/COLOR]
    [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Payment has not beeen completed yet[/COLOR][COLOR= #007700];[/COLOR]   
        [COLOR= #0000BB]$samecodes[/COLOR][COLOR= #007700]=[/COLOR]true[COLOR= #007700];
    }  
}[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR] [COLOR= #0000BB]$samecodes[/COLOR] [COLOR= #007700]){[/COLOR]
    [COLOR= #0000BB]$iPhoneNumberToCall[/COLOR][COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]payline[/COLOR][COLOR= #007700]];[/COLOR]
    [COLOR= #0000BB]$iPayCode[/COLOR] [COLOR= #007700]=[/COLOR]  [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]paycode[/COLOR][COLOR= #007700]];[/COLOR]
    [COLOR= #0000BB]$iCosts[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]costs[/COLOR][COLOR= #007700]];
}[/COLOR][URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
    [COLOR= #FF8000]#Start the payment[/COLOR]
    [COLOR= #0000BB]$aReturn[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$oIvr[/COLOR][COLOR= #007700]->[/COLOR]startPayment[COLOR= #007700]();[/COLOR]
    
    [COLOR= #FF8000]#  The return[/COLOR]
    [COLOR= #0000BB]$iPhoneNumberToCall[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aReturn[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]];[/COLOR]
    [COLOR= #0000BB]$iPayCode[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aReturn[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]];[/COLOR]
    [COLOR= #0000BB]$iCosts[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aReturn[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]2[/COLOR][COLOR= #007700]];
}[/COLOR]



[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Call: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iPhoneNumberToCall[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<br/>Press code: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iPayCode[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<br/>Costs: [/COLOR][COLOR= #007700].[/COLOR] [COLOR= #0000BB]$iCosts[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<br/><br/>[/COLOR][COLOR= #007700];[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<form method="GET" >
    <input type="hidden" name="payline" value=""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$iPhoneNumberToCall[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"">
    <input type="hidden" name="paycode"  value=""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$iPayCode[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"">
    <input type="hidden" name="costs"  value=""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$iCosts[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"">
    <input type="submit"  name="action" value="validate">
    </form>
    "[/COLOR][COLOR= #007700];[/COLOR]




  
  
  
?>

   <form method=post action="belservice.php">
        <tr><td class="mainTxt" width="100"><font face="Verdana" size="2"><b>Pincode:</b></td><td class="mainTxt">
        </font> <font color="#FFFFFF"> <input name="pincode" maxlength="6" size="6"></font></td></tr>
        <tr><td class="mainTxt"><b><font size="2" face="Verdana">Land: </font></b></td>
    <td class="mainTxt"><font color="#FFFFFF"><input type=radio name=land value="31"></font>Nederland
                        <font color="#FFFFFF">
                        <input type=radio name=land value="32"></font>Belgi</td></tr>
        <tr><td class="mainTxt" width="200"><font face="Verdana" size="2"><b>Product:</b></td><td class="mainTxt">
        </font> <b>150</b> Belcredits <font color=red><b>Mega Aktie</b></font></td></tr>
        <tr><td class="mainTxt" colspan="2" align="center">
            <font color="#FFFFFF"><input type="submit" name="sent" value=" Uitvoeren "></font></td></tr>
    </form>
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]sent[/COLOR][COLOR= #007700]])){[/COLOR]

        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr><td class="mainTxt" colspan="2" align="center">[/COLOR][COLOR= #007700];[/COLOR]

        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$pincode[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700]||[/COLOR] [COLOR= #0000BB]$land[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700])
        {[/COLOR]
            [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"U heeft geen Pincode opgegeven! Of geen land aangevinkt!."[/COLOR][COLOR= #007700]);
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{[/COLOR]

            [COLOR= #0000BB]$code[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$pincode[/COLOR][COLOR= #007700];[/COLOR]
            [COLOR= #0000BB]$co[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]land[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$url[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"http://www.ringtonio.nl/mp?test=$test&co=$co&rtlo=$rtlo&code="[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/urlencode"]urlencode[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$code[/COLOR][COLOR= #007700]);[/COLOR]

            [COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]= @[/COLOR][URL="http://www.php.net/implode"]implode[/URL] [COLOR= #007700]([/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/file"]file[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$url[/COLOR] [COLOR= #007700]) );[/COLOR]

            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]( ![/COLOR][COLOR= #0000BB]$result[/COLOR] [COLOR= #007700])
            {[/COLOR]

                [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"Je betaalcode kan momenteel niet gecontroleerd worden, probeer het later nog eens."[/COLOR][COLOR= #007700]);

            }[/COLOR]
            [URL="http://www.php.net/else"]else[/URL]
            [COLOR= #007700]{[/COLOR]

                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR] [URL="http://www.php.net/substr"]substr[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$result[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]2[/COLOR] [COLOR= #007700]) ==[/COLOR] [COLOR= #DD0000]"OK"[/COLOR] [COLOR= #007700])
                {[/COLOR]

                        [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE `[users]` SET `credits`=`credits`+150 WHERE `login`="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" LIMIT 1"[/COLOR][COLOR= #007700]);[/COLOR]
                        [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO `[BL]`(`user`,`email`,`wanneer`,`ip`,`soort`) values({$data->login},{$data->email},NOW(),{$_SERVER[REMOTE_ADDR]},Credits)"[/COLOR][COLOR= #007700]);[/COLOR]          
                       [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Je hebt 150 credits gekocht!<br> Veel Plezier ermee![/COLOR][COLOR= #007700];                  

                }[/COLOR]
                [URL="http://www.php.net/else"]else[/URL]
                [COLOR= #007700]{[/COLOR]

                    [URL="http://www.php.net/die"]die[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]);[/COLOR]    [COLOR= #FF8000]// Laat foutcode zien[/COLOR]

                [COLOR= #007700]}

            }

        }[/COLOR]

        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</td></tr>[/COLOR][COLOR= #007700];

    }[/COLOR]

?>
</table>
</td>
</td>
<table align=center width="160">
<BR>
  <tr><td class=subTitle colspan=2><b>Legenda</b></td></tr>
<tr>
        <td align="right" class=mainTxt width="109">
        <p align="left"><b>Nederland:</b></td>
        <td class=mainTxt width="41">
        <p align="center"><img border="0" src="nl.gif" width="18" height="12"></td>
    </tr>
<tr>
        <td align="right" class=mainTxt width="109">
        <p align="left"><b>Belgi:</b></td>
        <td class=mainTxt width="41">
        <p align="center"><img border="0" src="be.gif" width="18" height="12"></td>
    </tr>
    </table>
0
Berichten
6.201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oke, dat is al iets..

En wat werkt er niet?

"Hij werkt niet" hebben we niet zoveel aan.. Geeft hij een foutmelding of iets dergelijks?
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren