NATS4 Check Functions

From TMM Wiki
Revision as of 13:37, 4 August 2010 by TMMStephenY2 (talk | contribs) (Created page with '{{NATS4 Manual | show_payments_admin_section = true }} Check functions are a feature in NATS4 that verifies that affiliates have properly filled out require…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NATS 4
Payments Admin
The Payments Admin
Creating and Editing PayVia Options and Dump Formats
Pay Via Types
Check Functions
Payment Dump Entry Numbers
Bulk Invoice Import
Payment Dump Variables
Payment Periods
Payout Period Configuration
Manual Invoices
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers

Check functions are a feature in NATS4 that verifies that affiliates have properly filled out required information in Pay Via Fields. This helps to ensure that affiliates properly receive payouts for referring members.

Pay Via Admin Check Functions

Configuring a Check Function

You can add or edit your Check Functions in the Payments Admin. To do so, go to the Payments Admin and click the "Pay Via Types" tab at the top of the page. On the next page, click the "Configure" icon next to the Pay Via type you would like to edit Check Functions for.

You will then be taken to the "Pay Via Fields" page. To the right of the page will be a column marked "Check Function"-- this is where you will be setting what you want to check for.

You can add a Check Function to a new Pay Via field if you desire, or you can edit a currently existing field. Click the "Edit Field" icon, and you will see a drop-down menu in the "Check Function" column. Here, you will be able to choose from the many options available to verify that the field has been populated properly. Choose your preferred Check Function, and click Save.

Check Function Types

NATS4 can check for a wide variety of inputs with the Check Function feature. This includes checking for numbers, letters, spaces, dates, etc. The following is a list of available Check Functions:

  • NONE - Does not make sure the input is valid.
  • date_check - Checks for a valid numeric date.
  • age_check - Checks if the value inputted is above your minimum age limit.
  • alnum_check - Only allows alphanumeric characters and underscores.
  • alnum_space_check - Only allows alphanumeric characters, underscores, and spaces.
  • alnum_letter_check - Must start with a letter, only allows alphanumeric characters and underscores.
  • alnum_letter_space_check - Must start with a letter, allows alphanumeric characters, spaces, and underscores.
  • alnum_number_check - Allows only numbers.
  • email_check - Checks for a valid e-mail address. The input must have an "@" symbol, and a period.
  • username_check - Must start with a character, allows characters and numbers.
  • easy_username_check - Must start with a character, allows characters and numbers.
  • password_check - Checks for a valid password, allows alphanumeric characters and underscores.
  • easy_password_check- Same as easy_username_check.
  • mod10_check - Uses the mod10 algorithm to check for a valid credit card number.
  • url_check - Checks for a valid URL.
  • username_check_detailed - Allows you to build a custom username check. You can require letters, numbers, capital letters, symbols, etc.
  • password_check_detailed - Allows you to build a custom password check. You can require letters, numbers, capital letters, symbols, etc.

Available Check Functions in NATS