You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My custom finisher class sends data to an external API, which can fail. In that case I would like to notify the user about that and allow him to re-submit the form to try it again (like a validation error).
How can I do that with powermail 12.1.1?
Validation happens in FormController::checkCreateAction, which internally forwards to ::createAction when all data are valid.
Return values of finishers in createAction are not used.
Powermail's own SendParametersFinisher does not check the return value, so it can't be used as example.
The text was updated successfully, but these errors were encountered:
My custom finisher class sends data to an external API, which can fail. In that case I would like to notify the user about that and allow him to re-submit the form to try it again (like a validation error).
How can I do that with powermail 12.1.1?
Validation happens in
FormController::checkCreateAction
, which internally forwards to::createAction
when all data are valid.Return values of finishers in
createAction
are not used.Powermail's own
SendParametersFinisher
does not check the return value, so it can't be used as example.The text was updated successfully, but these errors were encountered: