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