Custom created Wix order not showing uner My Orders

Using wix store backend createOrder() api we implemented functionality where orders are being created through custom code instead of wix standard store. Order are getting created as we can see them in orders collection under Store.
But problem is these orders (created through code) are not showing up under My Orders if customer places a order after logging into the website and after placing order if he or she checks it under My Orders tab.
Is there some thing which we are missing to set so that these orders show up under My Orders also?

Another thing is we are not able to mark order as refund or cancel as soon as we are trying to do for these kind of orders getting a error message “something went wrong”

1 Like

Does anybody @wix have an answer to this? I to have been facing the same problem.

Did anyone find an answer to this?