Skip to content

feat: private invoice access code gate with client-side SHA-256 verification - #790

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
snooopdog:feat/private-invoice-access-code-gate
Sep 26, 2026
Merged

Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
snooopdog:feat/private-invoice-access-code-gate

Conversation

@snooopdog

Copy link
Copy Markdown
Contributor

Summary

Displays an access code entry screen (AccessCodeGate) before revealing private invoice details. Verifies codes client-side via SHA-256 against the stored hash before permitting payment submission, persisting the unlocked state in sessionStorage for the session.

  • Added AccessCodeGate component with show/hide password toggle and shake animation on invalid attempts
  • Client-side SHA-256 hash computation and comparison utilities
  • Persists unlocked status in sessionStorage per invoice
  • Accessible keyboard navigation and ARIA attributes
  • Comprehensive unit tests for hash verification logic and AccessCodeGate

Closes #748
Closes #747
Closes #749
Closes #746

@vercel

vercel Bot commented Sep 24, 2026

Copy link
Copy Markdown

@snooopdog is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Sep 24, 2026

Copy link
Copy Markdown

@snooopdog Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit 020e3d5 into Stellar-split:main Sep 26, 2026
0 of 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

2 participants