File/config.inc.php

Description

Web Service Configuration File

This file contains important constants and resources that are going to be used throughout the entire phpPaypalPro system. This file contains the location of the 2 sets of WSDL documents. The first one is used when making live transactions and the second one is used for Sanbox transactions

You cannot use your sandbox login info for the live transactions or vice versa.

Constants
API_CONNECTION_TIMEOUT = 600 (line 67)

Connection TimeOut

The connection timeout is the number of seconds the service will wait before timeing out.

  • name: API_CONNECTION_TIMEOUT
API_IS_LIVE = false (line 57)

API STATUS

Whether or not we are running the script in live mode

  • name: API_IS_LIVE
API_VERSION = '2.4' (line 89)

Payload Schema Version

This refers to the version of the request payload schema. As of January 21, 2007, the version was 2.4

  • name: API_VERSION
API_WSDL = $API_WSDL (line 79)

WSDL File Location

This file contains a list of all the operations available in the webservice.

  • name: API_WSDL
LIVE_WSDL = 'wsdl/live/PayPalSvc.wsdl' (line 33)

Location of Live WSDL File

LIVE WSDL Files; Downloaded for Live Paypal Server using wget The names spaces from the .xsd files are imported into the WSDL file.

https://www.paypal.com/wsdl/PayPalSvc.wsdl https://www.paypal.com/wsdl/eBLBaseComponents.xsd https://www.paypal.com/wsdl/CoreComponentTypes.xsd

  • name: LIVE_WSDL
  • since: version 0.1.1 This was modified in version 0.1.1 to this new location
SANDBOX_WSDL = 'wsdl/sandbox/PayPalSvc.wsdl' (line 48)

Location of Sandbox WSDL File

Sandbox WSDL Files; Downloaded from the Sandbox Server using wget The namespaces from the .xsd files are imported into the WSDL file.

https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl https://www.sandbox.paypal.com/wsdl/CoreComponentTypes.xsd https://www.sandbox.paypal.com/wsdl/eBLBaseComponents.xsd

  • name: SANDBOX_WSDL
  • since: version 0.1.1 This was modified in version 0.1.1 to this new location

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