#skrypnyk81

1 messages · Page 1 of 1 (latest)

ornate egretBOT
wispy badger
plain wind
#

This is per charge, is there a possibility for a subscription?

wispy badger
plain wind
#

This link for invoice, can I have a link of receipt for subscription. Because I need to show to client invoice paid, but in link of invoice there invoice due.

#

When client received the email after payment hi has two link for invoice and receipt. Can I retrieve a link of receipt via API?

wispy badger
#

Subscriptions create Invoices, so the invoice PDF is what you are looking for

#

In Stripe lingo, an Invoice is the thing that Subscriptions create to charge users, receipts are the thing that we send over email for one-off charges

plain wind
#

This is footer of invoice: Importo dovuto = Amount due.

#

But I want to download the receipt with footer: Importo pagato = Amount paid

plain wind
wispy badger
#

Instead of latest_charge your payment intent may have a charges array depending on your API version

#

You can do all of this with one Retrieve Invoice call and using expansion to expand payment_intent.latest_charge or payment_intent.charges https://stripe.com/docs/expand

Learn how to reduce the number of requests you make to the Stripe API by expanding objects in responses.

plain wind