22 lines
480 B
PHP
22 lines
480 B
PHP
<?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);
|
|
}
|