To get rid of that 'id' error, a temporary fix is this ...

In that file, on line 140 you'll see the first line below. Add the second line:
Code:
        if (!isset($order->billing['country'])) return;
        if (!isset($order->billing['country']['id'])) return;

I may use a different approach in the future, but for now that should suffice.