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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Declined Credit Cards vs Automated Billing
We are trying to implement a script that will automate most of our billing process. However, before we launch it, we'd like to test what happens if the credit card is declined, or otherwise not processed. Does anyone have experience with this? Or know of a way to test it?
Our code pretty much just checks a number of parameters, and then uses nlapiTransformRecord to create a cash sale off of a sales order and sets chargeit to T before saving the record. All of that is working great, and we've successfully billed a few orders. However, we'd like to know what to expect if a credit card doesn't go through before releasing this script into the wild, as it were.
0