Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
pls help (urgently if you can) - when customer is created can't add credit card info
This is my code below (c#) - customer and address are successfully added, but credit card info is not added at all. What i'm doing wrong? The credit card add code is between the comments "credit card add code begins/ends"
protected void LinkButton1_Click(object sender, EventArgs e)
{
this.login();
Customer customer = new Customer();
customer.firstName = TextBox1.Text;
customer.middleName = TextBox11.Text;
customer.lastName = TextBox12.Text;
customer.email = TextBox2.Text;
customer.companyName = "test customer";
customer.phone = TextBox3.Text;
RecordRef status = new RecordRef();
status.internalId = "13";
customer.entityStatus = status;
CustomerAddressbook address = new CustomerAddressbook();
address.defaultShipping = true;
address.defaultShippingSpecified = true;
address.defaultBilling = true;