Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error on Proceeding With Checkout With Deleted Order Info #355

Open
msaroshali opened this issue Jun 18, 2024 · 0 comments

Comments

@msaroshali
Copy link
Contributor

msaroshali commented Jun 18, 2024

Scenario:

  • Customer begins the checkout process, adds all the information but does not complete the order checkout process.
  • Customer deletes their order info for whatever reason.
  • After deleting the information, Customer continues the checkout process and tries to place the order.

Customer is met with an internal server error page instead of the Order Overview Page, complaining about missing information required to create an order.

Possible Solutions:

  • We create a filter that checks for the order info before proceeding to the Order Overview Page.
  • We handle it in the checkout controller to throw a User Friendly error explaining why the order placement has failed.
  • We disable Order info deletion while the checkout process is underway
  • Update Order Status to Deleted and Clear Cart as soon as user deletes their payment info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant