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
[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