How do I update current order in OSF?
Summary: Need to update discountInfo in current order according to the user, whether logged in or not.
Content (required): Promotion price is being applied to normal price for all users, but there is a special price for logged-in users, need to provide a discount on the special price. For this need to update discounting in the current order.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):