classes/TokenUtility.php
/**
     * This method decides if the given token fits the order.
     *
     * @param string $identifier The order database record
     * @param string $recordToken The order database record
     * @param string $token The token to check against
     * @param string $typeKey Either the orderSuccessKey or the orderErrorKey (from the settings.ini)
     * @return bool
     */
This method decides if the given token fits the order.
This method decides if the given token fits the order .
public static function evaluateUrlToken($identifier, $recordToken, $token, $typeKey)
    {
        if (!$identifier || !$recordToken || !$token) {
            return false;
        }
        return $token === self::getUrlToken($identifier, $recordToken, $typeKey);
    }
public static function evaluateUrlToken ( $ identifier , $ recordToken , $ token , $ typeKey ) { if ( ! $ identifier || ! $ recordToken || ! $ token ) { return false ; } return $ token === self :: getUrlToken ( $ identifier , $ recordToken , $ typeKey ) ; }
This method decides if the given token fits the order.
This method decides if the given token fits the order .