Skip to content

feat(email): wire mailto send-invoice and email-proof across invoice lifecycle - #354

Draft
s6pa1rta3n-lab wants to merge 1 commit into
Quittance-Labs:mainfrom
s6pa1rta3n-lab:fix-issue-279
Draft

feat(email): wire mailto send-invoice and email-proof across invoice lifecycle#354
s6pa1rta3n-lab wants to merge 1 commit into
Quittance-Labs:mainfrom
s6pa1rta3n-lab:fix-issue-279

Conversation

@s6pa1rta3n-lab

Copy link
Copy Markdown

Summary

Resolves #279 by wiring mailto delivery and payment proof emailing across the full invoice lifecycle:

  • Implemented mailto-delivery.js with buildInvoiceMailto, buildProofMailto, canSendInvoiceEmail, canSendProofEmail, getInvoiceMailtoRecipient, getProofMailtoRecipient, openInvoiceMailto, and openProofMailto.
  • Updated export.ts to replace Turkish copy with clean English and wire shareInvoiceByEmail and emailPaymentProof.
  • Updated PaymentReceipt, InvoiceCard, frontend/app/invoice/[id]/page.tsx, and frontend/app/pay/[id]/page.tsx with appropriate action buttons and accessible states.
  • Updated dashboard-history.js search text to include seller and payer names/emails.
  • Added comprehensive unit tests in frontend/tests/mailto-delivery.test.js and updated tests/export.test.mjs.

Payout Routing

  • EVM (Base/Arbitrum/Polygon/ETH): 0xF46C9F6d70C50BF81ef3588AB523a90a594a2F89
  • Stellar: GCL6OXAMLD75BMTINA6EMRUDWK5THQUSHMYNLSNBCJAPZJHNYJTUNIBC

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.

Wire mailto send-invoice and email-proof across the full invoice loop

1 participant