Describe your bug or feature request.
When validating/submitting a payment gateway form, e.g. Capture, Void, Refund, if an exception occurs that is a PaymentGatewayException, the exception is handled gracefully, dispatching a Failed Payment Event, and setting the form state error.
For any other exception/throwable, a WSOD occurs.
We should handle this more gracefully.
We can't dispatch the same event, as we don't have that specific exception, but we can catch the throwable, log it, and set the error on the form state.
Comments
Comment #3
tomtech commentedComment #5
jsacksick commentedLooks good to me! Merged!