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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
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