Home » Conexión directa con Edgar

Conexión directa con Edgar

[insert_php]
/* Optional parameters */
// Show debug info. Switch to “false” once integration is tested.
$debug = ‘true’;

/* Required parameters */
// clientId assigned by ViTAM. Do not change.
$clientId = ‘d2521df9-ea30-11e2-b9bf-18a9053d294a’;
// Assign userId
$userId = ‘user-Id-juan’;
// Assign userName
$userName = ‘Usuario’;
// Assign role
$role = “user”;
// Assign room identifier
$room = ‘room1’;
// Assign language
$language = ‘es’; //lower case
// Compute token. Edit to specify your path to token3.php
include ‘\wp-includes\token3.php’;
$token = getToken($clientId, $userId, $userName, $debug);
[/insert_php]

//auto submit document.order.submit();

Deja un comentario