Hmm, I can’t see a reason why it wouldn’t be persisted. Are you not seeing a value if you fetch the order back?
On a side note, I’d avoid setting the OrderId manually as whilst it accepts a Guid, we actually use COMBs which ensure they are sortable in the database meaning better performance.
Assign order to customer
We currently create a new order, set properties / payment etc and then finalise the order all inside a custom Forms Workflow.
We are creating the order using:
then if the member is logged in, we are assigning their member key to the order with:
but when we check the order in the commerce section, the Customer Details section is empty.
Other orders that we create using the normal method i.e:
the customer details are present?
Could do with seeing your whole code block and whether you are completing your uow
Hmm, I can’t see a reason why it wouldn’t be persisted. Are you not seeing a value if you fetch the order back?
On a side note, I’d avoid setting the OrderId manually as whilst it accepts a Guid, we actually use COMBs which ensure they are sortable in the database meaning better performance.
is working on a reply...