admin管理员组

文章数量:1292116

http://localhost:5173/billing?payment=success&id=1739440247629-be9e0e-675028d166c122bd334c0468 This is the URL added in surl, after the payment its navigating to this frontend project URL, but the issue here is if reload the page its showing confirm form resubmission alrert. But if I copy paste the same url in tab then its working fine. And i have used alert for the complete project and that alert is not working when its navigated from surl.

Tried form submission in multiple ways and in hosted server also. but still same error. In server its 405

http://localhost:5173/billing?payment=success&id=1739440247629-be9e0e-675028d166c122bd334c0468 This is the URL added in surl, after the payment its navigating to this frontend project URL, but the issue here is if reload the page its showing confirm form resubmission alrert. But if I copy paste the same url in tab then its working fine. And i have used alert for the complete project and that alert is not working when its navigated from surl.

Tried form submission in multiple ways and in hosted server also. but still same error. In server its 405

Share asked Feb 13 at 10:51 Dinesh PammiDinesh Pammi 11 bronze badge 2
  • No idea what "surl" is supposed to mean. – C3roe Commented Feb 13 at 11:42
  • Sounds like the payment gateway is redirecting back to your site, by automatically submitting a form with method="post" from their page. Make your script process the received info, and redirect elsewhere afterwards via a GET request. Then the user can reload that URL as many times as they like, it will only cause repetition of that GET request, and therefor not cause a form resubmission warning. – C3roe Commented Feb 13 at 11:45
Add a comment  | 

1 Answer 1

Reset to default 0

surl, furl means its not hosted link. It should be api call and in that API need to redirect to frontend server

本文标签: