25if (session_id() ==
"") {
27 if (ini_get(
'register_globals')) {
28 foreach ($_SESSION as $key => $value) {
29 if (isset($GLOBALS[$key])) {
30 unset($GLOBALS[$key]);
51 $API_Endpoint =
"https://api-3t.sandbox.paypal.com/nvp";
52 $API_Url =
"https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&token=";
54 $API_Endpoint =
"https://api-3t.paypal.com/nvp";
55 $API_Url =
"https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=";
61 $PAYPAL_API_USER = $conf->global->PAYPAL_API_USER;
63$PAYPAL_API_PASSWORD =
"";
65 $PAYPAL_API_PASSWORD = $conf->global->PAYPAL_API_PASSWORD;
67$PAYPAL_API_SIGNATURE =
"";
69 $PAYPAL_API_SIGNATURE = $conf->global->PAYPAL_API_SIGNATURE;
71$PAYPAL_API_SANDBOX =
"";
73 $PAYPAL_API_SANDBOX = $conf->global->PAYPAL_API_SANDBOX;
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.