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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
PHPToolkit2013 Add/Update Customer Credit Card Info...
Hi there,
We are trying to attach a customer's payment information to the customer record. We can get it to post on the Sales Order, but not on the customer record. This is what we us to post it to a Sales Order:
$so->paymentMethod = new RecordRef();
$so->paymentMethod->internalId = $payment_method;
$so->creditCardProcessor = new RecordRef();
$so->creditCardProcessor->internalId = $cc_processor;
$so->getAuth = $get_auth;
$so->ccNumber = $cc_number;
$so->ccExpireDate = $cc_expire_date;
$so->ccName = $cc_name;
Your help is much appreciated.
Thank you,
james
0