ePages 6.11.0 - DE_EPAGES/PayPalExpress/API/TLE/ButtonUrlHandler.pm

Package DE_EPAGES::PayPalExpress::API::TLE::ButtonUrlHandler

Provides TLE function for localisation of button url

Functions

LocalisePayPalExpressButtonURL

LocalisePayPalExpressButtonURL

Replaces the placeholder [[locale]] in the URL-String by the given LocaleID. If the given LocaleID not part of the List 'en_US' will be used.

Syntax
#FUNCTION("LocalisePayPalExpressButtonURL", #URL, #LocaleID)
Example
#FUNCTION("LocalisePayPalExpressButtonURL", #System.PayPalExpress_CheckoutButtonURL, #Session.User.Locale.LocaleID)
Input
#url (string)
the url to be adapted
#LocaleID (string)
locale ID