ePages 7.25.0 - DE_EPAGES/OneSaas/API/Connection.pm

Package DE_EPAGES::OneSaas::API::Connection

Some functions to handle connections to OneSaas.

@EXPORT_OK
CheckOneSaasRedirectURL
GetOneSaasSoapURL

Functions

CheckOneSaasRedirectURL
GetOneSaasSoapURL

CheckOneSaasRedirectURL

check OneSaas redirectURL against a pattern. Throws INVALID_URL if URL is not valid.

Syntax
CheckOneSaasRedirectURL($redirectURL);
Example
CheckOneSaasRedirectURL(
  'https://epagesTest.app.onesaas.com/admin/connecttoplugin/completeauthorization/ePages'
);
Input
$RedirectURL (string)
url to redirect passed by caller

GetOneSaasSoapURL

Returns the URL pointing to the SOAP interface for the shop. SOAP extension can be customized by setting System.OneSaasSoapExtension.

Syntax
GetOneSaasSoapURL( $Shop );
Input
$Shop (object)
shop
Return
$URL (string)
URL to soap interface