#karan_api

1 messages · Page 1 of 1 (latest)

sudden ridgeBOT
sharp hillBOT
#

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.

sudden ridgeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255248298105769986

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

coral nacelle
remote prawn
#

Then how do we handle this usecase? What is recommendation? How do other Stripe customers handle this?

#

I have searched Stripe documentation and searched online a lot for this but have been unable to find a solution to handle this with Stripe with the requirements we have.

coral nacelle
#

Yeah this is a tricky one.. The only other options I can think of is,

1/ You would modify your billing settings to not cancel the Subscription if a payment fails and manually downgrade the subscription to old price by calling the API

OR

2/ You would preview prorated amount using upcoming invoice endpoint:https://docs.stripe.com/billing/subscriptions/prorations#preview-proration

Then you take a one-off payment (using PaymentIntents API).. If it fails, then you don't do anything with the subscription.

If it succeeds, then you add the prorated amount to customer credit balance & update the subscription price to the new price. The prorated invoice should automatically be marked paid using customer credit balance.

remote prawn
coral nacelle
#

Yeah

remote prawn
#

Okay got it. This is actually such a tricky case and I am surprised Stripe doesn't handle it out of box.

#

We have to go through so much technical complexity even though we are using Stripe.

#

None of the workarounds are actually good since they mess up the customer invoice and confuses our customers eventually.

coral nacelle
#

We do support the usecase with other payment methods but bank debits are often restrictive and weird. I am guessing that's why we're currently unable to support it