phpPayPal

(PHP 5) - This has not been tested with PHP 4.

You can download this class from the Google Code project downloads page.

To report an issue, please go to the Google Code project issues page.

For help and questions, please visit the Google Groups Discussion.

Description

phpPayPal ( )

phpPayPal contains the variables and methods needed to make interactions with PayPal.

The methods currently implemented are:


Scheduled for later are:

  • DoAuthorization
  • DoCapture
  • DoReauthorization
  • DoVoid
  • TransactionSearch
  • Mass Payment Methods
  • Recurring Payment Methods
  • DoReferenceTransaction

Class Parameters

NULL

- This class does not require any parameters to create an instance. Username, password and certificate information are currently embedded in the class itself.

Return Values

NULL - This class does not return a value upon creating an instance.

Variables

Public

Visit the public variables page for a full list of what's available in this class.

Private

Methods

Public

  • DoDirectPayment()
  • SetExpressCheckout()
  • SetExpressCheckoutSuccessfulRedirect()
  • GetExpressCheckoutDetails()
  • DoExpressCheckoutPayment()
  • GetTransactionDetails()
  • RefundTransaction()
  • AddItem()

Private

  • hash_call(Method_Name, NVP_String)
  • DeformatNVP(NVP_String)
  • GetItems(Response)
  • GenerateNVPString(Type)
  • UrlEncodeVariables()
  • UrlDecodeVariables()

Examples

For example class calls, see examples.

Code

The code is about 65KB. You can download it from Google Code or view it in the wiki.

Notes

  1. The ErrorCodesArray is not yet implemented; though the array may be there, don't use it yet!
 
code/classes/phppaypal.txt · Last modified: 03/02/2008 22:09 (external edit)
 
Recent changes RSS feed Driven by DokuWiki
© 2009 Drew Johnston
0.045s