bebeboutik/adm/cartvalidate.php

22 lines
480 B
PHP
Raw Normal View History

2016-01-04 12:48:08 +01:00
<?php
if($_SERVER['REMOTE_ADDR'] == '109.190.53.175') {
exit;
$cart = 54534;
$amount = 38.40;
$method = 'atos_cyberplus';
/*
include('../config/config.inc.php');
include(_PS_ROOT_DIR_.'/modules/paypal/paypal.php');
$paypal = new Paypal();
$paypal->validateOrder($cart, 2, $amount, $method);
*/
include('../config/config.inc.php');
include(_PS_ROOT_DIR_.'/modules/atos_cyberplus/atos_cyberplus.php');
$p = new atos_cyberplus();
$p->validateOrder($cart, 2, $amount, $method);
}