Ensure payment processing error messages are handled gracefully

Fixes #4