#rohith_code

1 messages ยท Page 1 of 1 (latest)

idle talonBOT
#

๐Ÿ‘‹ 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/1371423453365927991

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

main spear
#

๐Ÿ‘‹
Could you share more details please ? I'm not sure I understand correctly your ask here

idle talonBOT
marble cypress
#

You can not pass payment_intent_data in subscription mode."

ember stirrup
marble cypress
#

or during renewals

ember stirrup
#

Can you share an in_xxx ID where that has happened

marble cypress
#

are you asking for invoice id?

#

in_1RNtMjPq0Tpc8aFdGI5OPFa4

ember stirrup
#

What's the problem then? 3DS/auth was requested for the payment?

#

Looks like you're using the 3155 test card to pay/create the subscription and then subsequent invoices fail because they require auth?

marble cypress
#

i'm creating subscription using SessionCreateOptions
Mode = "subscription",
and
var service = new SessionService(_stripeClient);
var session = await service.CreateAsync(options);
then shoing user payment page using
PaymentCheckoutSessionInfo checkOutInfo = new PaymentCheckoutSessionInfo(new Uri(session.Url), session.Id);
now im unable to renew as payment needs authentication like otp
or also upgrade

marble cypress
#

so i want to set up in the first time while creating subscription only user to enter otp and not being asked subsequently

ember stirrup
#

I suspect this is RBI related, specifically:

Recurring transactions over 15,000 INR (or equivalent in other currencies) must go through AFA each time.

idle talonBOT
marble cypress
#

so then how can i handle renewal

daring mirage
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

marble cypress
#

Thank you
Can you please help how i can identify cards which would require AFA, because for few cards outside india it happens automatically

daring mirage
#

yes sure I'm still catching up on the thread

daring mirage
marble cypress
#

I am checking that, but can you please let me know what happens to renewal

daring mirage
#

this explains it

#

if the renewal is under 15000 INR and you have an e-mandate the customer's authorization won't be required

#

else your customer needs to authenticate the payment

marble cypress
#

ok will i get notified if payment is in pending state for mnore than 15000?

#

do we have any event i can send it to user

daring mirage
#

yes

#

invoice.payment_failed

marble cypress
#

and this happens only for india cards right?

daring mirage
#

yes

marble cypress
#

i am using invoiceService.CreatePreviewAsync for showing user how much amount would be deducted after proration so i have a doubt
can i upgrade subscription after user p[ays this invoice?

daring mirage
#

I'm not sure I understand

#

CreatePreview means that the invoice won't be really created

#

you just see a "preview" of how the invoice would be generated if you apply the changes "on the subscription" that you passed to that endpoint

marble cypress
#

thats correct my requirement is if i upgrade user package even though invoice is in pending state due to otp required it is upgraded in stripe dashboard and i'm getting subscription update event in which i am handling my backend , so i donot want to upgrade if invoice is in pending state

daring mirage
#

you should only upgrade on invoice.paid

#

which can be another option for you to avoid that automatic upgrade