Adds or updates a single custom order property on the current order. If the customer does not have a current order a new one will be created.
Adds or updates a collection of custom order properties on the current order. If the customer does not have a current order a new one will be created.
When updating an order, as well as the properties passed via the
properties collection as documented above, Tea Commerce will also add some system defined properties to the Order who's values will be automatically extracted. Details of these properties and how they are extracted can be found below.
|CustomerId||Current logged in Members member ID. Extracted at the time of GeneratePaymentForm() being called.||The ID of the customer making the order. Useful if you have a members only store and you want to find all orders belonging to the same customer.|
|PaymentInformation.FirstName||Extracted from an Orders ||The first name of the person making the order.|
|PaymentInformation.LastName||Extracted from an Orders ||The last name of the person making the order.|
|PaymentInformation.Email||Extracted from an Orders ||The email address of the person making the order.|