#NuwanC
1 messages · Page 1 of 1 (latest)
What is invoice enable false payments? Can you explain more?
We are creating some sessions with the be option
InvoiceCreation = new SessionInvoiceCreationOptions { Enabled = false },
for these type of payment we have an receipt link. we want to know is there option to get a pdf of this receipt
Could you elaborate where do you get the receipt link?
we are getting it from the charge object
Ah I see, probably this field https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No we don't generate PDF, since this receipt subject to latest changes, ie it will change if a refund happen
So you would want to write your own logic to generate a PDF from the URL