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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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