#0xL34N
1 messages · Page 1 of 1 (latest)
Hi!
What's the question?
Hello Vanya!
How can i get an invoice link to see the information and send to our customers?
What information you mean?
To preview the invoice?
I would like customers to receive an invoice for their payment.
What kind of payment integration are you using?
Subscription with checkout
Could you please share a Subscription ID? sub_xxx
Sure
sub_1Mk3CjGxM23JahAhPXWLBYQc
In general, you can look at your subscription's latest_invoice.invoice_pdf or latest_invoice.hosted_invoice_url:
https://stripe.com/docs/api/subscriptions/object#subscription_object-latest_invoice
https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url
Oka, thanks for that!
If I don't see anything in those fields now, is it because we are in test mode? How can I get info in those fields?
Have you expanded the latest_invoice field?
Where? In subscription?
Yes
Glad to hear. Let me know if you have any other questions.