Overview
After a successful payment the app returns to the invoice detail page with no celebration or summary. Add a dedicated success screen with animation to confirm the transaction clearly.
Acceptance Criteria
- After transaction confirmed on-chain, show a full-modal success screen (not a toast)
- Animated checkmark SVG plays on enter (CSS animation, no heavy library)
- Shows: "Payment Successful!", amount paid, transaction hash (truncated + copy button), Stellar Expert link
- "View Invoice" button returns to the invoice detail page
- "Download Receipt" shortcut triggers the PDF receipt download (links to that feature)
- Auto-dismisses to the invoice page after 10 seconds with a visible countdown
- Success screen accessible (announces to screen readers via
aria-live="assertive")
- Error variant: red X animation with error message and "Try Again" button
Overview
After a successful payment the app returns to the invoice detail page with no celebration or summary. Add a dedicated success screen with animation to confirm the transaction clearly.
Acceptance Criteria
aria-live="assertive")