Check Functions

Article Topics: Payments

Check functions are a feature in NATS that verifies that affiliates have properly filled out required information in Pay Via Fields. This helps to ensure that affiliates input their personal information in a valid format, and properly receive payouts for referring members.

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 Methods" tab on the left-hand navigation. On the Pay Via Methods page, click the Pay Via method you would like to edit to be taken to its overview page. Click the "Fields" tab at the top of the page to view the Fields associated with the Pay Via Method.

You will then be taken to the "Pay Via Fields" page. Underneath the Options column will be the "Check Function" option -- 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 "Action" icon, and you will see a drop-down menu with the option "Edit Field." 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. Your Check Function will now be configured for use by your affiliates.

Good To Know: The Field Type has to be set to "Text" otherwise, you will not be given the option to change the Check Function.

Check Function Types

NATS 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.

Pay Via Methods

Last updated

Was this helpful?