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

Package DE_EPAGES::PayPalExpress::API::Tools

Utility functions for PayPalExpress.

@EXPORT_OK
BuildPayPalExpressUrl
LogPayPalExpress

Functions

BuildPayPalExpressUrl
LogPayPalExpress

BuildPayPalExpressUrl

Calls DE_EPAGES::Shop::API::Url::BuildShopUrl with the specified parameters and replaces & by & afterwards

Syntax
my $url = BuildPayPalExpressUrl(..);
Example
my $CancelUrl = BuildPayPalExpressUrl($Object, {'ChangeAction' => ['BlockMonitor', 'PayPalExpressCancel']}, {'UseSSL' => 1, 'AddCookies' => 1}, $Servlet);
Input
see DE_EPAGES::Shop::API::Url::BuildShopUrl
Return
$url (string)
url, & replaced by &

LogPayPalExpress

Logs a structure to the communication.log.

Syntax
LogPayPalExpress($Name, $Debug, $Section);
Example
LogPayPalExpress('SendRequestHash', \%Hash, 'Send');
Input
$Name (string)
name of data
$Debug (hash)
data to be logged
$Section (string)
name of the section to be logged