0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
newtuscamisetaspersonalizadas
/
ext
/
modules
/
payment
/
ipayment
/
[
Home
]
Name File: callback_cc.php
< back
<?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ chdir('../../../../'); require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/modules/payment/ipayment_cc.php'); require('includes/modules/payment/ipayment_cc.php'); $ipayment_cc = new ipayment_cc(); if (!$ipayment_cc->check() || !$ipayment_cc->enabled) { exit; } if (in_array(tep_get_ip_address(), $ipayment_cc->gateway_addresses)) { $checksum_pass = 0; // unknown if (tep_not_null(MODULE_PAYMENT_IPAYMENT_CC_SECRET_HASH_PASSWORD)) { // verify ret_param_checksum if ($HTTP_POST_VARS['ret_param_checksum'] == md5(MODULE_PAYMENT_IPAYMENT_CC_USER_ID . $HTTP_POST_VARS['trx_amount'] . $HTTP_POST_VARS['trx_currency'] . $HTTP_POST_VARS['ret_authcode'] . $HTTP_POST_VARS['ret_booknr'] . MODULE_PAYMENT_IPAYMENT_CC_SECRET_HASH_PASSWORD)) { $checksum_pass = 1; // true } else { $checksum_pass = -1; // false } } $ipayment_cc->sendDebugEmail($checksum_pass); } ?>
©
2018. | Recode by D7net