Class EWPServices

Description

API for doing PayPal encryption services.

Located in /PayPal/EWPServices.php (line 18)


	
			
Variable Summary
Method Summary
EWPServices EWPServices (EWPProfile $profile)
mixed encryptButton (array $buttonParams)
mixed getPayPalCertificateFile (string $environment)
void setEWPProfile (EWPProfile $profile)
Variables
EWPProfile $_profile (line 27)

The profile to use for encryption.

  • access: protected
Methods
Constructor EWPServices (line 36)

Construct a new EWP services object.

EWPServices EWPServices (EWPProfile $profile)
  • EWPProfile $profile: The profile with the username, password, and any other information necessary to use the SDK.
encryptButton (line 69)

Creates a new encrypted button HTML block

  • return: A string of HTML or a Paypal error object on failure
mixed encryptButton (array $buttonParams)
  • array $buttonParams: The button parameters as key/value pairs
getEWPProfile (line 58)

Get the current profile.

  • return: The current profile.
EWPProfile getEWPProfile ()
getPayPalCertificateFile (line 155)

Returns the PayPal public certificate filename.

  • return: The path and file of the certificate file, or a PayPal error object on failure.
mixed getPayPalCertificateFile (string $environment)
  • string $environment: The environment to get the certificate for.
setEWPProfile (line 48)

Use a given profile.

void setEWPProfile (EWPProfile $profile)
  • EWPProfile $profile: The profile with the username, password, and any other information necessary to use the SDK.

Documentation generated on Fri, 15 Oct 2010 06:21:05 +0000 by phpDocumentor 1.4.3