| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/callback/skrill/ |
Upload File : |
<?php
/* --------------------------------------------------------------
callback_skrill.php 2018-05-02
Gambio GmbH
http://www.gambio.de
Copyright (c) 2018 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
based on:
(c) 2009 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: callback_skrill.php 22 2009-01-17 14:33:18Z mzanier $)
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/
chdir('../../');
include 'includes/application_top.php';
include DIR_FS_CATALOG . 'callback/skrill/skrill.php';
if (count($_POST) > 0) {
$skrill = new skrill_callback();
$data = [];
$data['pay_to_email'] = xtc_db_input($_POST['pay_to_email']);
$data['pay_from_email'] = xtc_db_input($_POST['pay_from_email']);
$data['merchant_id'] = xtc_db_input($_POST['merchant_id']);
$data['transaction_id'] = xtc_db_input($_POST['transaction_id']);
$data['skrill_transaction_id'] = xtc_db_input($_POST['mb_transaction_id']);
$data['skrill_amount'] = xtc_db_input($_POST['mb_amount']);
$data['skrill_currency'] = xtc_db_input($_POST['mb_currency']);
$data['status'] = xtc_db_input($_POST['status']);
$data['md5sig'] = xtc_db_input($_POST['md5sig']);
$data['amount'] = xtc_db_input($_POST['amount']);
$data['currency'] = xtc_db_input($_POST['currency']);
$response = $skrill->callback_process($data);
if ($skrill->debug) {
$skrill->_logTransactions();
}
if ($skrill->repost) {
header('HTTP/1.0 404 Not Found');
} else {
header("HTTP/1.0 200 OK");
}
}