#karuppasamy-receipt-details

1 messages · Page 1 of 1 (latest)

sturdy sageBOT
acoustic acorn
#

Hi 👋 can you elaborate a bit on what you're trying to accomplish? I don't recognize that UI offhand.

#

karuppasamy-receipt-details

foggy shuttle
#

i need receipt details (history)
For ex
"I purchased the Standard plan for $40 last month, and this month I changed my plan to the Professional plan for $60."
so i need to show history to user in my application

#

above attached screen get from another site they also using stripe.but they customized UI

acoustic acorn
#

Are you working with Subscriptions (and therefore Invoices) or are you working directly with Payment Intents?

foggy shuttle
#

yes

#

i am working with subscriptions

acoustic acorn
#

Gotcha, so Subscriptions create Invoices to process each of their payments. Each Invoice object has an invoice_pdf field that contains a URL where the PDF can be downloaded from:
https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
I would recommend starting there and seeing if that accomplishes what you're looking for, but please let me know if it doesn't.

foggy shuttle
#

can i get no of invoice for particular customer ?