title: Get the next order increment id during checkout?
body: <p>I am developing a custom payment gateway. It uses <em>OrderIncrementID</em> to identify which Order was the payment made for. I have every functionality running <strong>after</strong> the Order has been placed, i.e. <strong>after checkout</strong>, except one in the checkout page itself.</p>
  
  <p>In the checkout page, Order was not created, getting an <em>OrderIncrementID</em> seems very difficult. We have to overwrite the order creation in the checkout such that it will be created after the payment method selection which sounds very complicated and dangerous to overwrite the flow. An alternative is to use <em>QuoteID</em>, but the tradeoff is that I have to implement a convertion from <em>QuoteID</em> to <em>OrderIncrementID</em>.</p>
  
  <p>What can I do in this case to get an <strong>OrderIncrementID</strong> in the checkout page? <em>especially after the payment method selection</em></p>