ePages 6.10 - DE_EPAGES/PayPalExpress/API/Payment.pm

Package DE_EPAGES::PayPalExpress::API::Payment

Payment functions for PayPal Express.

@EXPORT_OK
CheckoutRequest
CheckoutRequestDetails
DoCheckoutPayment

Functions

CheckoutRequest
CheckoutRequestDetails
DoCheckoutPayment

CheckoutRequest

prepares SOAP request SetExpressCheckout and calls function of remote object

Syntax
CheckoutRequest($LineItem, \%Params);
Input
$LineItemPaymentPayPalExpress (object)
the payment lineitem
Return
$redirectUrl (string)
redirect url with token from response

CheckoutRequestDetails

prepares SOAP request GetExpressCheckoutDetails and calls function of remote object

Syntax
CheckoutRequestDetails($LineItem, \%Params);
Input
$LineItemPaymentPayPalExpress (object)
the payment lineitem
Return
$details (ref.hash)
the response details

DoCheckoutPayment

prepares SOAP request DoExpressCheckoutPayment and calls function of remote object

Syntax
DoCheckoutPayment ($LineItem, \%Params);
Input
$LineItemPaymentPayPalExpress (object)
the payment lineitem
Return
$payinfo (ref.hash)
the response payment info