#rohith_code
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/1371423453365927991
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐
Could you share more details please ? I'm not sure I understand correctly your ask here
You can not pass payment_intent_data in subscription mode."
Yep, seems logical. You'd use subscription_data param instead
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you share an in_xxx ID where that has happened
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?
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
yes in real scenario i have cards which require OTP
so i want to set up in the first time while creating subscription only user to enter otp and not being asked subsequently
I suspect this is RBI related, specifically:
Recurring transactions over 15,000 INR (or equivalent in other currencies) must go through AFA each time.
so then how can i handle renewal
๐ taking over for my colleague. Let me catch up.
Thank you
Can you please help how i can identify cards which would require AFA, because for few cards outside india it happens automatically
yes sure I'm still catching up on the thread
did you check this guide https://docs.stripe.com/india-recurring-payments?integration=subscriptions#subscription-updates ?
I am checking that, but can you please let me know what happens to renewal
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
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
yes
invoice.payment_failed
with these error codes https://docs.stripe.com/india-recurring-payments?integration=subscriptions#error-and-decline-codes
and this happens only for india cards right?
yes
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?
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
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
you should only upgrade on invoice.paid
here's how pending updates work https://docs.stripe.com/billing/subscriptions/pending-updates
which can be another option for you to avoid that automatic upgrade