NetSuite客户端脚本提取信用卡信息

时间:2016-08-09 00:36:09

标签: netsuite suitescript client-side-scripting

我有一个客户端脚本,我试图访问事务中的ccnumber字段。

我使用nlapiGetFieldValue('ccnumber')除了隐藏最后4位数字之外的所有内容都会提取数字。

我一直在搜索开发者指南,找到解决方法,但一直找不到任何东西。

1 个答案:

答案 0 :(得分:1)

默认情况下,NetSuite会屏蔽信用卡号。您将需要打开NS支持的票证,要求能够添加视图完整的信用卡号码权限。他们会要求您签署一些文件,承认您自己负责维护PCI合规性。

从NetSuite帮助文件: Important: To see unmasked credit card numbers, a user must log in using a role with View Unencrypted Credit Cards permission. Before you can grant View Unencrypted Credit Card permission, an administrator must contact NetSuite Customer Support and provide a signed agreement. NetSuite Customer Support then activates the View Unencrypted Credit Cards permission for your account.