[Catastrophic Bug] Wrong Server Response
-
We have an issue where the server is falsly responding ‘success’ in its admin-ajax response.
Moreover, there is no front-end warning or message on this occasion; the form just appears to fails to submit/redirect. This is catastrophic UX.
The server responded with {success: true, data: {…}}, indicating a successful operation on the server-side. However, this is falsy as the plugin actually refused to accept the entry: the form submissions are not being saved; the user isn’t receiving notification emails; and the thank-you page is never seen.
The presence of “wpformsAjaxBeforeSubmit” and “wpformsAjaxSubmitSuccess” events indicates that the form is being submitted asynchronously using AJAX, which is relevant.
In the affected browser sessions, we see:
https://ibb.co/wp3MQKBIn normal working browser sessions, we see:
https://ibb.co/zmjg1Nb– Why is the plugin responding from the server like this, reporting success if it’s in fact not processing the submissions?
– Why is there no handling on the client side in the WPForms JavaScript to handle cases like this? Why is there no fallback message or alert for the user in case of an unusual server response like this?
We have no steps to reproduce this; this affects a handful of users randomly, across mobile and desktop, using latest Chrome, each month according to the logging we have in place.
- You must be logged in to reply to this topic.