Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Business::PayPal::API::ExpressCheckout 0.52

    Download button

    No screenshots available
    Downloads: 513  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Scott Wiersdorf | More programs
    Perl Artistic License / FREE
    October 2nd, 2007, 08:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Business::PayPal::API::ExpressCheckout description

    Business::PayPal::API::ExpressCheckout is a PayPal Express Checkout API.

    Business::PayPal::API::ExpressCheckout is a PayPal Express Checkout API.

    SYNOPSIS

    use Business::PayPal::API::ExpressCheckout;

    ## see Business::PayPal::API documentation for parameters
    my $pp = new Business::PayPal::API::ExpressCheckout ( ... );

    my %resp = $pp->SetExpressCheckout
    ( OrderTotal => '55.43', ## defaults to USD
    ReturnURL => 'http://site.tld/return.html',
    CancelURL => 'http://site.tld/canceltation.html', );

    ... time passes, buyer validates the token with PayPal ...

    my Þtails = $pp->GetExpressCheckoutDetails($resp{Token});

    ## now ask PayPal to xfer the money
    my %payinfo = $pp->DoExpressCheckoutPayment( Token => $details{Token},
    PaymentAction => 'Sale',
    PayerID => $details{PayerID},
    OrderTotal => '55.43' );

    Business::PayPal::API::ExpressCheckout implements PayPal's Express Checkout API using SOAP::Lite to make direct API calls to PayPal's SOAP API server. It also implements support for testing via PayPal's sandbox. Please see Business::PayPal::API for details on using the PayPal sandbox.

    SetExpressCheckout

    Implements PayPal's "Website Payment Pro" SetExpressCheckout API call. Supported parameters include:

    Token
    OrderTotal
    currencyID
    MaxAmount
    OrderDescription
    Custom
    InvoiceID
    ReturnURL
    CancelURL
    Address
    ReqConfirmShipping
    NoShipping
    AddressOverride
    LocaleCode
    PageStyle
    'cpp-header-image'
    'cpp-header-border-color'
    'cpp-header-back-color'
    'cpp-payflow-color'
    PaymentAction
    BuyerEmail

    as described in the PayPal "Web Services API Reference" document. The default currency setting is 'USD' if not otherwise specified.

    Returns a hash containing a 'Token' key, whose value represents the PayPal transaction token.
    Required fields:

    OrderTotal, ReturnURL, CancelURL.

    my %resp = $pp->SetExpressCheckout();
    my $token = $resp{Token};

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    PayPal Express | Checkout API | Perl module | PayPal | Express | Checkout

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM