#shubhamjha
1 messages · Page 1 of 1 (latest)
Hi @solemn shell the invoice object is not yet created when invoice.upcoming event happens, you should listen to invoice.created event instead.
ok if i have invoice id then how can we reach Payment page
What kind of Payment page do you refer to?
downloded link
i listen it but their is nothinglike the link of invoice
https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url I believe this is the URL that you are talking about.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The doc says If the invoice has not been finalized yet, this will be null., so you should listen to invoice.finalized event and access the invoice's URL
ok and same thing with shedule subscription?
how to get the link when shedule subscription become subscription
It's the same, you should listen to invoice.finalized events