Developer forum

Forum » Feature requests » Get Order by OrderSecret

Get Order by OrderSecret

Hans Kloppenborg
Reply

Hi,

We would like an API function to get an order by OrderSecret. At this moment we can only get an order on this value by using the depricated/obsolete Order.GetOrders call with a SQL string, or by adding EntityFramework to access the EcomOrders table directly.

Seeing that the ordersecret value is made for post-payment processing its strange there is no support for it in the API.

N.B. we noticed today that the ordersecret value is not unique (why??), so please check in such an api call that the order is complete also.

Greets Hans Kloppenborg

Innovadis

 


Replies

 
Nicolai Pedersen
Reply

Hi Hans

Could you describe why you need to lookup orders by secret? There might be other ways.

BR Nicolai