Any time PaySimple responded with a 400 Bad Request it was being wrapped in a PaySimpleEndpointException. However because of the try-catch block, it would always re-wrap it in another exception and lose the helpful ErrorResult information. I've added a catch-when to avoid this and properly preserve the original error info.
Any time PaySimple responded with a 400 Bad Request it was being wrapped in a PaySimpleEndpointException. However because of the try-catch block, it would always re-wrap it in another exception and lose the helpful ErrorResult information. I've added a catch-when to avoid this and properly preserve the original error info.