Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

(feat) Show payment history on the Plan & billing page

Aperta
#7,498 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start in web/mobile, where the Plan & billing page renders the "Invoices and receipts" row that must be replaced, and look at how ListTable is used in the Automations view. The backend work is a new GET /billing/invoices endpoint that reads the organization's invoices from Stripe and returns date, amount, currency, status, type and PDF link. Done means the table lists invoices newest first, the All/Subscription/Credit packs filter works, and the billing portal button still opens.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

backend feature request frontend

When I open Settings → Plan & billing, I expect to see the payments my organization made: plan charges and credit pack purchases. Today the page shows only an "Invoices and receipts" row with a button that opens the Stripe billing portal. To see a past payment or download its PDF, I must leave Agenta.

The Agenta API cannot list invoices. Stripe creates an invoice for each plan charge and each credit pack, and emails it to the customer. Agenta keeps no copy, and no endpoint returns the invoice number, the amount paid, the tax or the PDF link.

What we want

A payments table on Plan & billing, as the billing redesign shows:

  • One row for each invoice, newest first. Each row shows the date, the description, the amount with its currency and the status (paid, open or void).
  • A filter: All, Subscription and Credit packs.
  • A link from each row to its PDF.
  • "Open billing portal" stays. Users still manage the payment method, tax IDs and billing address there.

Todo

  • Add a backend endpoint (for example GET /billing/invoices) that reads the organization's invoices from Stripe. For each invoice, it returns the date, the amount and currency, the status, the type (subscription or credit pack) and the PDF link.
  • Replace the "Invoices and receipts" row in web/mobile with the payments table. It uses ListTable, the same table as Automations, and has the filter above.
Lingua principale
TypeScript
Stelle
4.8k
Fork
690
Merge medio
21h 53m
PR unite (30g)
451

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agenta-AI/agenta

Tutte le issue di Agenta-AI/agenta

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.