Skip to content

freedomsponsors/python-paypalx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-paypalx

python-paypalx is a client library for Adaptive PayPal's API.

Installation

python-paypalx requires httplib2 and simplejson to work.

Usage

from paypalx import PaypalError, AdaptivePayments, AdaptiveAccounts

accounts = AdaptiveAccounts(
    PAYPAL_API_USERNAME,
    PAYPAL_API_PASSWORD,
    PAYPAL_API_SIGNATURE,
    PAYPAL_API_APPLICATION_ID,
    PAYPAL_API_EMAIL,
    sandbox=USE_PAYPAL_SANDBOX
)    

payments = AdaptivePayments(
    PAYPAL_API_USERNAME,
    PAYPAL_API_PASSWORD,
    PAYPAL_API_SIGNATURE,
    PAYPAL_API_APPLICATION_ID,
    PAYPAL_API_EMAIL,
    sandbox=USE_PAYPAL_SANDBOX
)

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%