I created one shopify app named WhatsApp Chat In the chat setting when I submit the data and click on the save button then I am redirected to the login page I want to stop that.
How can I stop it?
Hi @Jitali_2103 ,
This is Theodore from PageFly - Shopify Page Builder App.
Unexpected login redirects after saving data in your Shopify WhatsApp Chat app point to a glitch in the form submission process. Here’s how to fix it:
-
Check the Form: Verify it submits data correctly (standard form or AJAX request) to the right endpoint within your app.
-
Review Server Logic: Ensure your app’s server processes data successfully and redirects to the intended page (chat settings) after saving.
-
Inspect Errors: Open browser’s developer console (F12) and look for errors during form submission.
-
Session Expiry (Less Likely): If you use Shopify authentication, make sure the session is valid during data submission.
Best regards,
Theodore | PageFly
Hi @PageFly-Theodor ,
I have checked all the points you mentioned.
Submits data correctly to the correct endpoint.
We are not redirected to any desired page (chat settings) just a popup message is shown, and it is shown.
We don’t see any error in console while submitting the form.
I have not used session till now.
Any update on this ?