Skip to content

Add payment URL QR codes to invoice PDFs#11

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

Add payment URL QR codes to invoice PDFs#11
H1D merged 1 commit intomainfrom
t3code/qr-payment-note

Conversation

@H1D
Copy link
Copy Markdown
Owner

@H1D H1D commented Apr 25, 2026

Summary

  • Added a paymentUrl field to invoice data, form defaults, URL sharing, and the compressed key map so payment links persist across reloads and shared URLs.
  • Generated payment QR codes in the PDF using qrcode, with layout changes to make room for the QR block and avoid overlapping the notes section.
  • Updated the download and preview flow to handle async PDF generation, plus added e2e coverage for defaults, sharing, reload persistence, and PDF download behavior.
  • Documented the new payment QR support in the README and updated dependency metadata.

Testing

  • Added Playwright checks for an empty default payment URL, shared URL persistence, reload persistence, and download flow with a payment URL.
  • Not run: unit or e2e test suite in this branch during review.

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

Prefilled test links:

- Update feature counts and benchmark numbers
- Note QR codes are generated from a shareable payment URL
@H1D H1D merged commit 1c53bfa into main Apr 25, 2026
8 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.

1 participant