Gateway errors should be consistent with other payment errors.

Fixes #5270