(feat) Show payment history on the Plan & billing page
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
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/mobilewith the payments table. It usesListTable, 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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Agenta-AI/agenta
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Agenta-AI/agenta#7654 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Agenta-AI/agenta#7468 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) The Stop button disappears for a moment before an approval card showsForse di nuovo libera @rishu685 l’ha presa 9 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Agenta-AI/agenta#7446 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Agenta-AI/agenta#7441 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) Settings > Usage opens AI providers when billing is offForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Agenta-AI/agenta#7426 · 2 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agenta-AI/agenta
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
TomerAberbach/profiler-md#733 ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
brentspine/brents-toasts#143 ·
-
🐛 bug 🗺️ DB Models & Ops
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
LibreChat-AI/LibreChat#17214 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
Wavvon/Wavvon-clients#136 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
umami-software/umami#4637 ·
I maintainer di solito rispondono entro 3 giorni