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.
[PHP][Sandbox] Unable to add CustomerCreditCardsList/CustomerCreditCards
I'm having issues with Suitetalk in Sandbox where any attempt to add or update a customer record with a credit card returns success but does not create a card in the system.
Attempting to attach an existing card record to an account also doesn't work.
BUT I can update an existing card no problem.
Any pointers?
[PHP]
$customer = new Customer();
$customer->internalId = $client;
$customer->CreditCardsList = new CustomerCreditCardsList();
$customer->CreditCardsList->creditCards = new CustomerCreditCards;
$customer->CreditCardsList->creditCards->ccNumber = $ccNumber;
$customer->CreditCardsList->creditCards->ccExpireDate = Carbon::create($ccExpireDate)->toIso8601String();
$customer->CreditCardsList->creditCards->ccName = $ccName;
Attempting to attach an existing card record to an account also doesn't work.
BUT I can update an existing card no problem.
Any pointers?
[PHP]
$customer = new Customer();
$customer->internalId = $client;
$customer->CreditCardsList = new CustomerCreditCardsList();
$customer->CreditCardsList->creditCards = new CustomerCreditCards;
$customer->CreditCardsList->creditCards->ccNumber = $ccNumber;
$customer->CreditCardsList->creditCards->ccExpireDate = Carbon::create($ccExpireDate)->toIso8601String();
$customer->CreditCardsList->creditCards->ccName = $ccName;
0