ePages 6.17.35 - DE_EPAGES/Ipayment/API/Tools.pm

Package DE_EPAGES::Ipayment::API::Tools

Tool package

@EXPORT_OK
DoesFileExist
PreparePaymentURL
GetWebServiceUrl
IsReallyValid

Functions

DoesFileExist
GetWebServiceUrl
PreparePaymentURL

DoesFileExist

Extends the Core Function ExistsFile, in order to return false in the case of an undef path.

Syntax
DoesFileExist( $Path );
Input
$Path (String)
Path to file
Return
$DoesExist (boolean)
true or false

GetWebServiceUrl

This method return the webservice url live or test

Syntax
GetWebServiceUrl($IsInTestMode);
Input
$IsInTestMode (boolean)
flag with test mode
Return
$Webservice Url (String)
Return webservice url for test or live mode

PreparePaymentURL

Prepares the payment URL using the AccountID of the merchant

Syntax
PreparePaymentURL( $DatabaseBasketOrOrder );
Input
$AccountID (String)
AccountID
$IsInTestMode (Boolean)
Is in test mode
Return
(String)
Payment URL