project !!

Vaata eelmist teemat Vaata järgmist teemat Go down

avatar
ssand
Liige
Postitusi : 53
Maine : 1
Liitus : 09/06/2016
Vaata kasutaja profiili

Postitaminessand on 15.01.17 13:18

Hello,
i search about someone know about sms and servers , PHP , scripter , PayPal !
and be have something about it.

are you do such a stuff ?
contact me : https://steamcommunity.com/id/password789
avatar
Shawn Mendes

Postitusi : 969
Maine : 22
Liitus : 02/04/2015
Vaata kasutaja profiili

PostitamineShawn Mendes on 23.01.17 21:06

I know how to create sms service but I have no facking idea with PayPal


NOBODY CARES,
WORK HARDER
avatar
ssand
Liige
Postitusi : 53
Maine : 1
Liitus : 09/06/2016
Vaata kasutaja profiili

Postitaminessand on 23.01.17 22:07

ok contact me.
avatar
Pilvik


Postitusi : 2886
Maine : 473
Liitus : 11/11/2012
Staatus : Get rekt
Vaata kasutaja profiili

PostitaminePilvik on 24.01.17 17:28

Paypal REST API for payments.

https://developer.paypal.com/docs/api/


Bitch, where's my cookie?
avatar
Tonight


Postitusi : 14639
Maine : 2652
Liitus : 19/02/2012
Staatus : @Faval
Vaata kasutaja profiili

PostitamineTonight on 24.01.17 21:24

Basic PayPal transfer:
Download paypaltransfer.zip
1499 lines, script itself is ~20 lines.

paypal.php file, upload this to your host and change in script the value of PayPal_setReturnURL:
Kood:
<html><head><title>Payment complete!</title></head><body>
<?php

define("SERV_PORT", Enter your server port here);
define("SERV_IP",  Enter your server IP here);
define("SERV_RCON", Enter your server RCON here.);

require "SourceQuery/SourceQuery.class.php";

if ( ! isset($_GET["st"]) || $_GET["st"] != "Completed" )
 die("");

$query = new SourceQuery();

try {
 $query->Connect(SERV_IP, SERV_PORT, 3, SourceQuery::GOLDSOURCE);
 $query->SetRconPassword(SERV_RCON);
 $query->Rcon("_PayPal_Check  \"" . $_GET["tx"] . "\"");
}
catch( SQueryException $e ) {
 echo $e -> getMessage( );
}

$query -> Disconnect();

/*
Read this before formatting the response text:
https://www.paypal.com/cgi-bin/customerprofileweb?cmd=%5fprofile%2dwebsite%2dpayments
*/
?>
Thank you for your payment! Your transaction is done and a receipt has been sent by e-mail to you. You can log in to your account at www.paypal.com to see details about this transaction.
<br><br>
You can close this window now.
</body></html>

And finally you have to install SourceQuery: https://github.com/xPaw/PHP-Source-Query

NB! Not tested. This is just a basic transfer, making a VIP system is up to you.
Attachments
paypaltransfer.zip You don't have permission to download attachments.(11 Kb) Downloaded 2 times
avatar
ssand
Liige
Postitusi : 53
Maine : 1
Liitus : 09/06/2016
Vaata kasutaja profiili

Postitaminessand on 24.01.17 21:37

@Tonight kirjutas: Basic PayPal transfer:
Download paypaltransfer.zip
1499 lines, script itself is ~20 lines.

paypal.php file, upload this to your host and change in script the value of PayPal_setReturnURL:
Kood:
<html><head><title>Payment complete!</title></head><body>
<?php

define("SERV_PORT", Enter your server port here);
define("SERV_IP",  Enter your server IP here);
define("SERV_RCON", Enter your server RCON here.);

require "SourceQuery/SourceQuery.class.php";

if ( ! isset($_GET["st"]) || $_GET["st"] != "Completed" )
 die("");

$query = new SourceQuery();

try {
 $query->Connect(SERV_IP, SERV_PORT, 3, SourceQuery::GOLDSOURCE);
 $query->SetRconPassword(SERV_RCON);
 $query->Rcon("_PayPal_Check  \"" . $_GET["tx"] . "\"");
}
catch( SQueryException $e ) {
 echo $e -> getMessage( );
}

$query -> Disconnect();

/*
Read this before formatting the response text:
https://www.paypal.com/cgi-bin/customerprofileweb?cmd=%5fprofile%2dwebsite%2dpayments
*/
?>
Thank you for your payment! Your transaction is done and a receipt has been sent by e-mail to you. You can log in to your account at www.paypal.com to see details about this transaction.
<br><br>
You can close this window now.
</body></html>

And finally you have to install SourceQuery: https://github.com/xPaw/PHP-Source-Query

NB! Not tested. This is just a basic transfer, making a VIP system is up to you.


that is some hard to me , maybe i need some help :)
i need type all this codes ? because i noob in PHP pls can u help me some time ?
avatar
Tonight


Postitusi : 14639
Maine : 2652
Liitus : 19/02/2012
Staatus : @Faval
Vaata kasutaja profiili

PostitamineTonight on 25.01.17 17:44

@ssand kirjutas:i need type all this codes ? because i noob in PHP pls can u help me some time ?
PayPal transfer plugin:
1) Fill in your information (in .sma):
PayPal_setAccount("Your Paypal");
PayPal_setIdentityToken("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
PayPal_setReturnURL("http://.../paypal.php");
PayPal_setCurrency("EUR");
PayPal_setLogo("http://.../banner.png");


2) Compile it to amxx. You can use web compiler if you want: http://www.amxmodx.org/webcompiler.cgi
avatar
Pilvik


Postitusi : 2886
Maine : 473
Liitus : 11/11/2012
Staatus : Get rekt
Vaata kasutaja profiili

PostitaminePilvik on 26.01.17 1:48



Bitch, where's my cookie?
Sponsored content

PostitamineSponsored content

Vaata eelmist teemat Vaata järgmist teemat Tagasi üles

Soovid reklaamidest vabaneda?

Selleks logi sisse või tee endale kasutaja.

Liitu foorumiga

Tee endale kasutaja ning osale aruteludes.


Tee uus kasutaja

Logi sisse

Omad foorumis juba kasutajat? Logi sisse.


Logi sisse

 
Permissions in this forum:
Sa ei saa vastata siinsetele teemadele