Handle simulated payments (bug 1045905)

@muffinresearch r?
This seemed kinda hard so I might try to land as is first.