function cryptoCoinPrice(cryptoSymbol = 'BTC', refresh) {
Dear guys,
This week I was facing this problem:
In agent zero we want to select the order along with the latest payment status and since order may have one or more payment status things was kinda tricky.
So first I write the query and select all payment status for the order like: