#PabloDeveloper

1 messages ยท Page 1 of 1 (latest)

ember needleBOT
patent night
oak forum
#

Thanks for you answer @patent night

I noticed that invoice_pdf corresponds to the invoice not to the receipt of a payed invoice.

I was looking into the response of Retrieve Invoice API and I noticed this other field receipt_url that seems to correspond to receipts, wouldn't be nice to add receipt_pdf field to the API as well?

I just did the association between invoice_url and invoice_pdf and apply the same logic to receipt_url. I just added programmatically /pdf to the url and I got the PDF file "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xR1RxSFNFMzBjSVBjVkdBKMmxtpkGMgYaW0JFkxw6LBZTXTx4SzQMtld-B-xug06bJEdPAtENRB6ioa1QTw5YOTf1Jx2dcRToRZEm/pdf?s=ap"

Thanks!

patent night
#

Sorry misread your ask. Yep, it's something we hear! Not sure its something we'll address though

#

That may work for now, but obviously is a little fragile and may break

oak forum
#

is there a repo where I could suggest this change? at least to have it in the backlog for the future ๐Ÿ™‚

patent night
#

https://support.stripe.com/contact love to hear feedback!

oak forum
#

Thanks man! have a good day