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

Local storage mode to track incomplete submissions/payments #5970

Closed
timotheeg opened this issue Mar 22, 2023 · 3 comments
Closed

Local storage mode to track incomplete submissions/payments #5970

timotheeg opened this issue Mar 22, 2023 · 3 comments
Assignees
Labels

Comments

@timotheeg
Copy link
Contributor

timotheeg commented Mar 22, 2023

In local storage, add a marker that a form submission and payment has been submitted and is ongoing. The marker can be deleted when the payment flow is complete.

If the form page is loaded while the marker is present and recent (recency specifications TBD), we can query FormSG's server to check the status of the submission, inform the user of the details, and ask the user if:

  1. he/she is sure she wants to proceed to make a new submission
  2. proceed to payment page if the submission was pending

Dependency

@amitogp
Copy link

amitogp commented Mar 22, 2023

Blocked by dedicated payment page.

@LinHuiqing
Copy link
Contributor

Design work required for toasts in the case of incomplete stuff!

@KenLSM
Copy link
Contributor

KenLSM commented Mar 22, 2023

Design/UX Required:

  • Showing of toast, when + where
  • Dismissal of toast (to have a "x" or text or something brilliant)

Probable Copies Required:

  • "You have a previous payment action here"
  • "Forget me"

Eng constraints:

  • Prompt to clear can show anywhere
  • Saving/updating submissions in storage can only be done after user clicks Proceed to Pay as we will track the paymentId

@KenLSM KenLSM self-assigned this Mar 29, 2023
@KenLSM KenLSM mentioned this issue Apr 3, 2023
1 task
@KenLSM KenLSM closed this as completed Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants