---
title: "Can I create a visitor account in \"Arrears\"?"
slug: "can-i-create-a-visitor-account-in-arrears"
updated: 2024-04-01T16:28:18Z
published: 2024-04-01T16:28:18Z
canonical: "kb.pharos.com/can-i-create-a-visitor-account-in-arrears"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.pharos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Can I create a visitor account in "Arrears"?

When we add a Visitor patron from the Nerve Center it creates the accounts with "Advanced" billing - is it possible to create a Visitor account in "Arrears" ?

---

Visitors are created using the CreateVisitorPatron function in VisitorPatrons.asp. At the start of VisitorPatrons.asp is the following function:

```plaintext
function CreateVisitorPatron( LogonId, Group, LastName, FirstNames, Password )
{
var User = SignUpGlobals.GetPsUser();

User.LogonId = ( null == LogonId ? "" : LogonId );
User.Group = ( null == Group ? "" : Group );
User.LastName = ( null == LastName ? "" : LastName );
User.FirstName = ( null == FirstNames ? "" : FirstNames );
User.Password = ( null == Password ? "" : Password );

// If this throws an exception it will be propagated to the caller.
User.CreateAsVisitor( SignUp.Credentials );

return true;
}
```

To create Visitor patrons with Arrears billing, modify the function to look like this:

```plaintext
function CreateVisitorPatron( LogonId, Group, LastName, FirstNames, Password )
{
var User = SignUpGlobals.GetPsUser();

User.LogonId = ( null == LogonId ? "" : LogonId );
User.Group = ( null == Group ? "" : Group );
User.LastName = ( null == LastName ? "" : LastName );
User.FirstName = ( null == FirstNames ? "" : FirstNames );
User.Password = ( null == Password ? "" : Password );
User.BillingOption = "Arrears";

// If this throws an exception it will be propagated to the caller.
User.CreateAsVisitor( SignUp.Credentials );

return true;
}
```

## Related

- [Pharos Site Monitor](/pharos-site-monitor.md)
- [Secure Release Here: Users cannot log on at terminals](/secure-release-here-users-cannot-log-on-at-terminals.md)
