#david_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1445911861257048074
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there!
Could you describe a little more fully what you want to do? From your initial question, my understanding is that you are trying to "display invoices for all payments our customers have done in our own portal" outside of Stripe but you're considering whether Stripe offers the functionality you're looking for?
Hey, It'd be ideal if we could create invoices for all payments customers do through our stripe and directly display them in the customers stripe portal that they can log into
Yeah, that should be doable. Did you check out our demo here? https://docs.stripe.com/customer-management
You can see the "Invoice History" section in the portal demo, which I think is what you're describing?
So essentially, we’re trying to make sure every payment a customer makes shows up inside Stripe’s Customer Portal as an invoice, not just subscription invoices.
Right now, only subscription related invoices appear in the portal, while our custom one off charges with custom amounts do not show up in Invoice History for the same customer (even though invoices have been enabled since day 1).
From our side, these are not product based charges, they’re custom payment amounts, and we need them to generate and display as invoices in the portal so customers can view their full transaction history in one place.
Ah so you want all your customer's transaction history to be available in Stripe-hosted UI
Yes, exactly
I don't think we support that now, but I can understand it as a feature request
I'm happy to submit a feature request on your behalf but displaying non-billing (Subscriptions / Invoice ) payments in the Customer Portal isn't supported today
Okay, so what the support told us isn't possible?
"If you need more control, you could build a custom integration using Stripe's APIs to display all invoices in your own portal.
Specifically for this scenario, we highly recommend our official developer Discord if you need more specialized assistance."
It is definitely possible, but that wouldn't be on stripe-hosted UI.
You'd have to have a developer create your own dashboard that fetches information from Stripe's APIs and displays it to your customers
Hm alright, thank you
Is there any other way to create invoices for these custom one of payments through stripe? Even if not shown in the strip hosted ui for customers?
Then we could mail them maybe
Actually you can attach a PaymentIntent to an Invoice - this is a relatively recent change that we put out earlier this year
https://docs.stripe.com/api/invoices/attach_payment?api-version=2025-11-17.clover&lang=curl
So you can have a payment that you can later attach to an existing Invoice if you create an Invoice for that payment
Would that need to be done manually?
The problem is that we're expecting a large amount of small payments and need invoices sent or available somehow for all customers
If it can be automated, then in what way?
Through code in our app webapp at the point the paymentintent gets created
Or maybe through something like zapier?
Could you please explain the flow?
Thanks for your help so far!
This would be manual in a development sense and I'm not sure that it is a great option. But if you need Invoice PDFs and that kind of thing for existing one-off PaymentIntents, you can do the following:
Create/confirm PaymentIntent
Create Invoice for the amount of the PaymentIntent
Attach the PaymentIntent to the Invoice
If you have a large number of PaymentIntents, you'd have to list them via the API and then go through this process for each
Okay, thanks for all the info. I'll talk to our Dev's and get back to you if needed. Have a great day