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
I have a form with various steps, the last one is the "review order" one with the confirm button, that charges the user.
this section is accessible only if the user has already a stripe single-use token generated for him in the previous step, where the form gets submitted and the response is handled.
By the way, even if the button in the final step isn't a submit button, the form gets submitted again, the stripe's api gets called with i don't know what values and the api respondes with a 400(Bad Request) status code.
EDIT(workaround)
changing the button to an a fixes the problem and the form doesn't get submitted again.
I have a form with various steps, the last one is the "review order" one with the confirm button, that charges the user.
this section is accessible only if the user has already a stripe single-use token generated for him in the previous step, where the form gets submitted and the response is handled.
By the way, even if the button in the final step isn't a submit button, the form gets submitted again, the stripe's api gets called with i don't know what values and the api respondes with a 400(Bad Request) status code.
EDIT(workaround)
changing the button to an a fixes the problem and the form doesn't get submitted again.
previous:
edited:
The text was updated successfully, but these errors were encountered: