Ccvalid

Checks that a credit card has valid digits and a valid expiration date.

Dependencies

  • Ccvalid does not verify that a particular credit card number exists; it simply ensures that a number could exist using the MOD-10 checksum algorithm.
  • This action can validate credit card numbers with up to 16 digits. It rejects all numbers with more than this number digits, whether they are valid or not.
  • Ccvalid does not run a charge on a credit card; it only validates that the number could be valid.

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

Generic

Email Chat Phone Voicemail Work Item SMS

Input Properties

These properties define data that the action uses when executing.

Property

Description

Caption

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. The default is the action name.

Credit Card Tthe sequence of digits that make up the credit card number.
Expire Month Thea card's month of expiration. This must be entered as a two digit number, such as 02 for February.
Expire Year The card's year of expiration. This must be entered as a four digit number, such as 2030.
ValidateLuhn When enabled, the action validates that credit card numbers are entered correctly. It uses the Luhn algorithm to do the validation. This does not check that the numbers are correct. Select False to disable number validation, or leave set to the default true if you want numbers to be validated.
ValidateCCType Validates the type of credit card. Select True from a drop-down to enable validation.

Result Branch Conditions

Result branch conditions allow you to create branches in your script to handle different outcomes when an action executes.

Condition

Description

Default Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.
Valid Path taken if the card number passes the MOD-10 checksum algorithm and the month/year parameters are valid entries greater than or equal to today's date.
BadCard Path taken if the card number fails the MOD-10 check.
BadExpireDate Path taken if the expiration date is either too old or invalid.