Reference Checkout - ERR_WS_CUSTOMER_REGISTRATION
If you have a webstore set up on NetSuite that uses Reference Checkout, you might encounter a generic 500 error from NetSuite stating that "An error occurred during registration. Please try again".
We recommend checking to see if there are any mandatory fields on the lead or contact record types. If there are, and they do not have a default value, the registration process will not complete successfully.
In the Reference Checkout code, the process to register a new customer is as follows:
session.registerCustomer({
firstname: user_data.firstname,
lastname: user_data.lastname,
companyname: user_data.company,
email:user_data.email,
password:user_data.password,
password2:user_data.password2,
emailsubscribe: (user_data.emailsubscribe && user_data.emailsubscribe !== 'F') ? 'T' : 'F'
});
session.registerCustomer does not ignore mandatory fields on the lead or contact forms. A mandatory field would result in the generic error NetSuite returns during customer registration. To resolve this issue we recommend making any mandatory field include a default value.
Related Articles
Reschedule Your NetSuite Upgrade
NetSuite updates twice yearly. These releases are obviously important to maintain constant development. However, they can occasionally cause disruption or take place at awkward times. We see some global clients receive a scheduled upgrade time that ...
Controlling "starttime" XML definition in NetSuite
When building a NetSuite SuiteApp, you may have noticed the following error occur when deploying to a different NetSuite account in a different timezone: "An error occurred during custom object creation. Details: This event recurrence is invalid ...