CCVALID
此帮助页面适用于 Studio。 此信息也适用于 Desktop Studio。
|
|
检查信用卡是否具有有效的数字和有效的到期日期。 |
依赖关系
- Ccvalid 不会验证某个特定的信用卡号码是否存在;它仅仅使用 MOD-10 校验和算法确保一个数字可以存在。
- 此操作可以验证最多 16 位数字的信用卡号。 它会拒绝所有超过此数字位数的数字,无论它们是否有效。
- Ccvalid 不会对信用卡运行扣款操作;它仅验证该号码是否可能有效。
支持的脚本类型
|
|
|
|
|
|
|
|
|
|
通用 |
聊天 | 电话 | 語音邮件 | 工作项目 | 短信 |
|
输入属性
这些属性定义操作在执行时使用的数据。
|
属性 |
说明 |
|---|---|
|
添加说明文字 |
输入在脚本中唯一标识此操作的短语。 标题显示在脚本画布上的操作图标下方。 |
| 信用卡 | Tthe sequence of digits that make up the credit card number. |
| 到期月份 | Thea card's month of expiration. This must be entered as a two digit number, such as 02 for February. |
| 到期年份 | 卡到期的年份。 必须输入四位数,例如 2030。 |
| 验证 Luhn |
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. 在值模式下: 单击关闭可禁用信用卡号验证。 将设置保留为打开可验证信用卡号。 在表达式模式下: 输入 false 可禁用信用卡号验证。 将设置保留为 true 可验证信用卡号。
|
| 验证抄送类型 |
Validates the type of credit card.
在值模式下: 单击关闭可禁用信用卡类型验证。 将设置保留为打开可验证信用卡类型。 在表达式模式下: 输入 false 可禁用信用卡号验证。 将设置保留为 true 可验证信用卡号。
|
结果分支条件
结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。
|
条件 |
说明 |
|---|---|
| 默认 | 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. |
| 有效 | 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. |