#Bhumika17-Invoice
1 messages ยท Page 1 of 1 (latest)
That means there is no proration happens on that Customer
When Lisa used your Customer Portal, it's possible that Customer Portal has a configuration that didn't allow proration
You can review your Customer Portal Configuration on your Dashboard, or if you are creating the Customer Portal programmatically, check this parameter of its configuration: https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-proration_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i think this is not related to invoice
This Doc should explain Proration better than me ๐ https://stripe.com/docs/api/subscriptions/update
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 does, because Invoice is auto-generated from Subscription. And each time a Subscription is upgraded it will have a proration behavior and it affects future invoice
let me check, please give me some time
Sure, no worry and actually if you don't see I answer I could be stretched out myself too ๐
When you are back, feel free to open a new thread or request to unlock this thread
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
what's up?
can you suggest solution me? for my issues
what's the issue exactly?
i have 1 stripe customer(Lisa)
in my website lisa have subscribe monthly plan
then she update her plan(month plan to yearly plan) from stripe portal (don't know how ๐ฆ )
I don't know how to get latest invoice
then she update her plan(month plan to yearly plan) from stripe portal (don't know how ๐ฆ )
which part of that don't you know about?
the customer only has access to the portal if you give them access to it, and you configure what they are able to do within the portal through your settings (https://dashboard.stripe.com/test/settings/billing/portal)
that's not my solution
can you clarify? I don't understand what you're trying to say.
ok let me explain you briefly
i have a one website, in my website i have used subscription plan that is (Free plan, Monthly plan, Yearly plan)
one customer Lisa have subscribe Monthly plan then after some time she subscribe yearly plan then how can i get new invoice? also how can i get subscribe id from stripe?
i hope you understand ๐
then how can i get new invoice?
It's thelatest_invoicefield of the Subscription object : https://stripe.com/docs/api/subscriptions/object#subscription_object-latest_invoice
also how can i get subscribe id from stripe?
generally you should save it in your database when you create the subscription. But you also getcustomer.subscription.updatedwebhook events when the subscription changes (https://stripe.com/docs/billing/subscriptions/webhooks) so you have those too.