Source for file config.inc.php

Documentation is available at config.inc.php

  1. <?php
  2.  
  3. /**
  4.  * Web Service Configuration File
  5.  *
  6.  * This file contains important constants and resources that are going to be
  7.  * used throughout the entire phpPaypalPro system. This file contains the location of the 2 sets of WSDL documents.
  8.  * The first one is used when making live transactions and the second one is used for Sanbox transactions
  9.  * 
  10.  * You cannot use your sandbox login info for the live transactions or vice versa.
  11.  * 
  12.  * @author Israel Ekpo <perfectvista@users.sourceforge.net>
  13.  * @copyright Israel Ekpo, 2006-2007
  14.  * @license http://phppaypalpro.sourceforge.net/LICENSE.txt BSD License
  15.  * @version 0.1.1
  16.  * @package PaypalBase
  17.  * @filesource
  18.  */
  19.  
  20. /**
  21.  * Location of Live WSDL File
  22.  *
  23.  * LIVE WSDL Files; Downloaded for Live Paypal Server using wget
  24.  * The names spaces from the .xsd files are imported into the WSDL file.
  25.  *
  26.  * https://www.paypal.com/wsdl/PayPalSvc.wsdl
  27.  * https://www.paypal.com/wsdl/eBLBaseComponents.xsd
  28.  * https://www.paypal.com/wsdl/CoreComponentTypes.xsd
  29.  * 
  30.  * @since version 0.1.1 This was modified in version 0.1.1 to this new location
  31.  * @name LIVE_WSDL
  32.  */
  33. define('LIVE_WSDL''wsdl/live/PayPalSvc.wsdl');
  34.  
  35. /**
  36.  * Location of Sandbox WSDL File
  37.  *
  38.  * Sandbox WSDL Files; Downloaded from the Sandbox Server using wget
  39.  * The namespaces from the .xsd files are imported into the WSDL file.
  40.  *
  41.  * https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
  42.  * https://www.sandbox.paypal.com/wsdl/CoreComponentTypes.xsd
  43.  * https://www.sandbox.paypal.com/wsdl/eBLBaseComponents.xsd
  44.  * 
  45.  * @since version 0.1.1 This was modified in version 0.1.1 to this new location
  46.  * @name SANDBOX_WSDL
  47.  */
  48. define('SANDBOX_WSDL''wsdl/sandbox/PayPalSvc.wsdl');
  49.  
  50. /**
  51.  * API STATUS
  52.  *
  53.  * Whether or not we are running the script in live mode
  54.  * 
  55.  * @name API_IS_LIVE
  56.  */
  57. define('API_IS_LIVE'false);
  58.  
  59. /**
  60.  * Connection TimeOut
  61.  *
  62.  * The connection timeout is the number of seconds
  63.  * the service will wait before timeing out.
  64.  * 
  65.  * @name API_CONNECTION_TIMEOUT
  66.  */
  67. define('API_CONNECTION_TIMEOUT'600);
  68.  
  69. $API_WSDL (API_IS_LIVE)LIVE_WSDL SANDBOX_WSDL;
  70.  
  71. /**
  72.  * WSDL File Location
  73.  *
  74.  * This file contains a list of all the operations available
  75.  * in the webservice.
  76.  * 
  77.  * @name API_WSDL
  78.  */
  79. define('API_WSDL'$API_WSDL);
  80.  
  81. /**
  82.  * Payload Schema Version
  83.  *
  84.  * This refers to the version of the request payload schema.
  85.  * As of January 21, 2007, the version was 2.4
  86.  * 
  87.  * @name API_VERSION
  88.  */
  89. define('API_VERSION''2.4');
  90. ?>

Documentation generated on Sat, 03 Feb 2007 20:58:58 -0800 by phpDocumentor 1.3.1