Business::PayPal::API::ExpressCheckout

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

Business::PayPal::API::ExpressCheckout Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Scott Wiersdorf
  • Publisher web site:
  • http://search.cpan.org/~scottw/

Business::PayPal::API::ExpressCheckout Tags


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.SetExpressCheckoutImplements 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 BuyerEmailas 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}; Requirements: · Perl


Business::PayPal::API::ExpressCheckout Related Software