ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
cfg_epayment.inc.php
Go to the documentation of this file.
1 <?php
2 
3 /******************************************************************************
4 
5 This file contains all general variables for the PayPal payment
6 
7 *******************************************************************************/
8 
9 // ID of PayPal vendor (e-mail address)
10 $vendor = "";
11 
12 // PayPal server
13 $server_path = "/cgi-bin/webscr";
14 $server_host = "www.paypal.com";
15 $server = "https://".$server_host.$server_path;
16 
17 // For securely posting back to paypal using HTTPS your PHP server will need to be SSL enabled
18 $ssl = true;
19 
20 // PayPal auth token
22 
23 // PayPal page style
24 $page_style = "primary";
25 
26 $paypalConfig = array(
27  "vendor" => $vendor,
28  "server_path" => $server_path,
29  "server_host" => $server_host,
30  "server" => $server,
31  "auth_token" => $auth_token,
32  "page_style" => $page_style
33 );
34 
35 $GLOBALS["paypalConfig"] = $paypalConfig;
36 ?>