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

fix: payment expired notification, add sessionstorage check #1342

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

ArmanNik
Copy link
Member

@ArmanNik ArmanNik commented Sep 9, 2024

By using session storage here, the developer should only receive the notification during their current session.

If they haven't updated their expired payment and opened a new session, they'll get the notification again.

@stnguyen90 stnguyen90 self-requested a review September 9, 2024 14:22
@divanov11
Copy link

@stnguyen90

*The problem: Payment expiration error pops up on every page, even when closed.

Expected behavior: Once a user gets a notification, they should be able to close and it and not see it until their next browser session.

Solution: Added a check for payment notification in session storage. Once a user has closed the pop-up expiredPaymentNotification will be set to true, indicating user has already been notified.

@stnguyen90 stnguyen90 merged commit bf5a449 into main Sep 9, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants