Last Name Disappears

We've had an issue surface all of a sudden where the billing last name stopped storing in the database. Nothing was changed with our TeaCommerce instance or configuration, and nothing changed with the front end forms. It simply just stopped storing only the lastName field. All other fields appear to be saving appropriately.

Hi Barry, I did check the logs in App_Data and the event viewer and there is nothing there related to this issue (no db errors, no umbraco errors). Nor is there anything in the browser console. It's saving the rest of the cart, billing, and shipping data successfully, so I dont think there is an error to throw.

When you create a new order through the storefront OR when you try to edit an order through the Order Details page in the Umbraco backoffice, the last name does not save. See the screenshot below.

The back office of Tea Commerce uses some JavaScript to find the different order properties and the values of the fields and then save tem. Can you see if the JavaScript is finding your text field and sent it along in the JS call to update the order properties? Check using the Chrome console.

And I think the lastName property alias must be named in a correct was. See what your settings say for the last name order property alias. Is in the Tea Commerce back office in settings that is defined.

Our.umbraco.com is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.
This site is running
Umbraco version 7.13.1