Use https api, fix bug with order id being number rather than string