26if (session_id() ==
"") {
28 if (ini_get(
'register_globals')) {
29 foreach ($_SESSION as $key => $value) {
30 if (isset($GLOBALS[$key])) {
31 unset($GLOBALS[$key]);
52 $API_Endpoint =
"https://api-3t.sandbox.paypal.com/nvp";
53 $API_Url =
"https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&token=";
55 $API_Endpoint =
"https://api-3t.paypal.com/nvp";
56 $API_Url =
"https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=";
64$PAYPAL_API_PASSWORD =
"";
68$PAYPAL_API_SIGNATURE =
"";
72$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.
getDolGlobalBool($key, $default=false)
Return a Dolibarr global constant boolean value.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.