Package DE_EPAGES::PayPalExpress::API::RemotePayPalExpress
stub object for web service requests to PayPal Express
Functions
DESTROY
destructor: cleans up the attributes when the object is destroyed
DoExpressCheckoutPayment
Implements PayPal's "Website Payment Pro" DoExpressCheckoutPayment API call. Required parameter are: Token, PayerID, OrderTotal Returns a hash containing pay information.
Syntax |
$self->DoExpressCheckoutPayment ( %RequestValues ); |
Input |
|
Return |
|
GetExpressCheckoutDetails
Implements PayPal's "Website Payment Pro" SetExpressCheckout API call. Required parameter is: Token. This is the same token received from SetExpressCheckout. Returns a hash containing buyer details.
Syntax |
$self->GetExpressCheckoutDetails ( $Token ); |
Input |
|
Return |
|
SetExpressCheckout
Implements PayPal's "Website Payment Pro" SetExpressCheckout API call. Required parameters are: OrderTotal, ReturnURL, CancelURL. Returns a hash containing a 'Token' key, whose value represents the PayPal transaction token.
Syntax |
$self->SetExpressCheckout ( %RequestValues ); |
Input |
|
Return |
|
new
Creates a RemotePayPalExpress object.
Syntax |
my $RemotePayPalExpress = DE_EPAGES::PayPalExpress::API::RemotePayPalExpress->new( Username => $Username, Password => $Password, Signature => $Signature, Sandbox => $Sandbox, ); |
Input |
|
Return |
|
shop
Returns the shop object
Syntax |
$shop = $self->shop; |
Return |
|
version_req
Returns the SOAP data structure for request version
Syntax |
$version = $self->version_req; |
Return |
|