#sahil_api

1 messages ¡ Page 1 of 1 (latest)

kind hawkBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1213135328379019304

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

minor cradleBOT
#

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.

floral aspen
#

You want a prorated final invoice?

orchid gust
#

Does that create a new and final invoice?

I see the Cancel API has both invoice_now and prorate params. So I am confused

floral aspen
#

Yeah if you set it to invoice_now always_invoice

#

Sorry I meant always_invoice

orchid gust
#

ok, so I have to set the portal configurations each time before calling the poratal session API?

floral aspen
orchid gust
#

Yeah, but that would be the default configuration right? Which may not have the what I need.

#

can I modify this from the dashboard for once?

floral aspen
#

What do you mean

#

You control your code

#

That param is where you'd pass a custom configuration id

orchid gust
#

I create the Stripe client with all defaults. So I believe the portal configuration gets created with default configuration

floral aspen
#

You need to create a new portal configuration here

#

And pass its id to the customer portal session creation request

orchid gust
#

Yeah so that would create a new portal config each time. Would that be okay? Do those configuration disappear when the portal sessions ends?

floral aspen
#

No you just need to create it once...

#

Just store its id somewhere after creating it

#

You can reuse it

orchid gust
#

okay.

minor cradleBOT