public static function getEndpointUrl($action, $identifier)
    {
        $url = Controller::join_links(
            'paymentendpoint',
            $identifier,
            $action
        );

        return Director::absoluteURL($url);
    }
public static function getEndpointUrl($action, $identifier)
    {
        $url = Controller::join_links(
            'paymentendpoint',
            $identifier,
            $action
        );

        return Director::absoluteURL($url);
    }
public static function getEndpointUrl ( $ action , $ identifier ) { $ url = Controller :: join_links ( 'paymentendpoint' , $ identifier , $ action ) ; return Director :: absoluteURL ( $ url ) ; }
Generate an absolute url for gateways to return to, or send requests to.
@param  string $action the intended action of the gateway
@param  string $identifier the unique payment id
@return string the resulting redirect url
Generate an absolute url for gateways to return to or send requests to .