to "capture" order status "completed" every 60 minutes?
Hi, We aim to "capture" the sales we have done and are paid, when we do, we as a filter a range in date / time modified and further orders are Status "completed". And when we sent you the code I attached below, we enter an order that has no Status Completed, but its status is "Active", and is also still unpaid. **Could you tell us what variable or condition must be in the code below, enabled to ensure that filters correctly and that we ONLY go down orders Completed state, ie, they are paid (not sent), and period I specified?**. Also, we try, our script run every hour, collecting orders that are within the period of time / date and the status Completed, however, when we restrict ourselves to an hour, we returned "empty", ie, as it will update the values in your database, and therefore, the API, not filtered properly. However, if we expand the time range to 3 hours or more, yes we arrive records. The question **is what parameters or conditions must put in the code attached to "capture" order status "completed" every 60 minutes?** AgAAA**AQAAAa**aAAAAA**.......... 2014-12-15T13:59:52.000Z 2014-12-15T15:59:06.000Z Descending Seller Completed Regards