Could the Maxmind module delay writing the result to the db until the order is finalized? Then it could associate the real order id with the result.
And if Maxmind declines an order, do you want to record the information associated with it for future analysis, or discard it?



