#voidy_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1285442424365125694
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- voidy_subscription-cycle, 9 hours ago, 12 messages
- voidy_webhooks, 17 hours ago, 8 messages
When the email is sent, the payment page url is also sent.
So the payment page is created, how do i do the same with API?
I just want the url for invoice payment
Could you share the invoice ID (in_xxx) that has invoice URL at the draft status?
in_1Pzi5wAWDWbiBybiWJxrB2WY
Not in the draft state, but from UI test mode, i could create the payment page
and need not to wait an hour for it to move to open status
can it be done from api as well, creating the payment page even when draft and moving to open
Not in the draft state, but from UI test mode, i could create the payment page
Could you share the screenshot of the payment page that you're looking at?
A hosted invoice URL will only be created after the invoice is finalised
Before payment, it would ask to attach card
which is fine and exactly what i want
after the subscription is created, i would like to send an email to customer with this payment url
but since the invoice is in draft, there is no hosted_invoice_url
You can finalise the invoice via API, so that the hosted_invoice_url will be created: https://docs.stripe.com/api/invoices/finalize
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it worked, thank you bud