<?php

use Mtc\Plugins\LexisNexisIDU\Classes\IDService;
use Mtc\Shop\Order;


/*

    https://sandbox.idu.tracesmart.co.uk
    u: 
    p: 

 */

chdir(__DIR__);
$path = '../../../';
require_once $path . 'core/includes/header.inc.php';

$order_id = 39;

$order = Order::find($order_id);

\Illuminate\Support\Facades\App::bind('members_auth', function ($app) {
    return new \Mtc\Modules\Members\Classes\Authenticator();
});

echo "Found order #{$order->id}.\n";

//$_SESSION['ID_CHECK_STATUS'] = IDService::ID_CHECK_FAILED;

$_SESSION['ID_CHECK_TYPE'] = 'drivers_license';
$_SESSION['ID_CHECK_NUMBER'] = 'STONE704116R99FG';

//$_SESSION['ID_CHECK_TYPE'] = 'passport';
//$_SESSION['ID_CHECK_NUMBER'] = 'L652845638GBR7604119M2201018B85475BB<<<<<<06';

//$_SESSION['ID_CHECK_TYPE'] = 'id_card';
//$_SESSION['ID_CHECK_NUMBER'] = 'IRGBR1234567897<<<<<<<<<<<<<<<5605248F2201018GBR<<<<<<<<<<<4';


IDService::runCheck($order, false);

