NEED HELP SETTING UP PAYGOL.

TrueHabb

Member
Dec 20, 2011
117
8
Thread moved to Habbo Hotel Help and Support.
So ive got paygol and iknow its gone though but i dont get notifications about when users purchase it?

Does anybody know where i put this code ..

PHP:
<?php
 
// check that the request comes from PayGol server
if(!in_array($_SERVER['REMOTE_ADDR'],
  array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) {
  header("HTTP/1.0 403 Forbidden");
  die("Error: Unknown IP");
}
 
// get the variables from PayGol system
$message_id = $_GET['message_id'];
$service_id = $_GET['service_id'];
$shortcode = $_GET['shortcode'];
$keyword = $_GET['keyword'];
$message = $_GET['message'];
$sender = $_GET['sender'];
$operator = $_GET['operator'];
$country = $_GET['country'];
$custom = $_GET['custom'];
$points = $_GET['points'];
$price = $_GET['price'];
$currency = $_GET['currency'];
 
// Here you can do whatever you want with the variables, for instance inserting or updating data into your Database
 
?>


also other thing is how do i set it so that i know the user account has purchased VIP or items?
 

Users who are viewing this thread

Top