Add regression test for #2687 by @Radar
Invalidate old payments. Close #2687