Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Trying to retrieve credit card numbers
I have written SuiteScript scripts and a web service to do custom credit card processing. I've signed the correct forms and sent them to NetSuite to unmask credit card numbers for admins. When I am logged in as an admin, everything works great.
Now I am testing some roles that do not have the ability to see the credit card numbers. My script is running as admin as a fefore submit function.
In the restricted role, when a sales order is saved my script sees the following fields:
ccnumber => set to the masked credit card number (eg. ************4444) I was really hoping that since my script was running as admin, this would always be the full number.
0