Skip to content

Add payment URL QR codes to invoice PDFs#10

Merged
H1D merged 1 commit into
mainfrom
t3code/qr-payment-note
Apr 25, 2026
Merged

Add payment URL QR codes to invoice PDFs#10
H1D merged 1 commit into
mainfrom
t3code/qr-payment-note

Conversation

@H1D

@H1D H1D commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Added a new Payment URL field to the invoice form and persisted it through shared URLs and reloads.
  • Generated a QR code in the PDF when a payment URL is present, and adjusted the payment totals layout to make room for it.
  • Made PDF generation/download flows async so QR code creation can complete before previewing or saving.
  • Added Playwright coverage for payment URL defaults, persistence, sharing, reload behavior, and download flow.

Testing

  • Not run in this session.
  • Added/updated Playwright checks for:
    • empty default payment URL state
    • shared URL round-trip persistence
    • reload persistence
    • PDF download with a payment URL present

Deploy Preview: https://69ed42bc9254f791859cab10--easypdf-lite.netlify.app/

Prefilled test links:

- Persist payment URL in form state and shared links
- Include a QR code in generated PDFs and downloads
- Update tests for defaults, reload, sharing, and download
@H1D
H1D merged commit 2d4bfee into main Apr 25, 2026
8 checks passed
@H1D
H1D deleted the t3code/qr-payment-note branch April 25, 2026 22:43
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.

1 participant