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
Scheduled Script to Automate Credit Card charge
Is it possible to use a scheduled script to automate a credit card charge.
I have a saved search that gives the list of Cash Sales that needs to be charged.
In the Script, I am getting the creditcard details like credit card#, expiration date, payment method etc. from the customer record and update the cashsale and check the chargeit checkbox.
When the Script check the chargeit checkbox, it throws an error saying
"Credit card numbers must contain between 13 and 20 digits."
But the log shows that the ccnumber is updated with the number from the customer record.
If the chargeit checkbox is not checked, the creditcard details get saved in the Cash Sale.
0