Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 debian
Octocat-spinner-32 eg
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 auth.sample.3token
Octocat-spinner-32 auth.sample.cert
Business-PayPal-API version 0.62


To install this module type the following:

   perl Makefile.PL
   WPP_TEST=auth.txt make test
   make install

Please notice that this module requires you have several things before
you can test it:

  - a sandbox personal PayPal account
  - a sandbox business PayPal account
  - API credentials (either a certificate or signature)
  - auth.txt, which contains your API credentials

Acquiring these things is your job, not mine. Read PayPal's
and this module's documentation to learn more.

If you do not set the WPP_TEST environment variable, sandbox tests
will be skipped.

The format of the authentication tokens file defined by WPP_TEST may
be found in the Business::PayPal::API documentation under
"TESTING". Sample auth.txt files may be found in 'auth.sample.3token'
and 'auth.sample.cert' in this distribution.


  use Business::PayPal::API qw( ExpressCheckout );

  my $pp = new Business::PayPal::API( Username => 'my_api.username.tld',
                                      Password => 'API_PASSWORD',
                                      CertFile => '/path/to/cert.pem',
                                      KeyFile  => '/path/to/key.pem', );

  my %details = $pp->GetExpressCheckoutDetails( $token );


This module requires these other modules and libraries:

  SOAP::Lite 0.67 or later.
  Crypt::SSLeay required for certificate auth


This package except those modules listed below are copyright (C) 2006
by Scott Wiersdorf

AuthorizationRequest, CaptureRequest, DirectPayments,
ReauthorizationRequest, and VoidRequest modules are copyright (C) 2006
by Daniel Hembree

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.
Something went wrong with that request. Please try again.