#bragma_best-practices
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/1286296828429729895
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- bragma_best-practices, 2 days ago, 21 messages
- bragma_unexpected, 5 days ago, 33 messages
- bragma_best-practices, 6 days ago, 27 messages
hi there!
you would make an extra API call to update the PaymentIntent on the Invoice.
You mean an update call?
correct
Ok, that's really annoying but I'll try it. I was checking the infinite list of options but I didn't consider this. Thanks!
haha, no worries! and yes that's the only option to achieve this.
Ok, since I am here I'll ask another question: is there any con in always using "off_session"? I may not always require it
where exactly do you want to use this parameter?
I'd like to setup payments for off session charges. My idea is to add this when I create invoices and/or subscriptions for customers
This does not mean that I'll make off session charges on each customer, but it may happen on some
Invoice and Subscription don't have a off_session parameter, so I'm a bit confused. maybe you meant on the PaymentIntents?
in general, using off_session means Stripe will tell banks that the customer is not on session for optimization purposes. so you should only use off_session if the customer is actually off_session.
Yes, I mean the paymentintent associated to an invoice I create (or created by a subscription)
Oh, and i mean in the "setup_future_usage"
Ok, I made a confusing explanation
Yes, I mean the paymentintent associated to an invoice I create (or created by a subscription)
got it
Of course, I set "on_session" and "off_session" depending on the specific type of the request
But I was asking about setting the setup as "off_session" on PI
But I was asking about setting the setup as "off_session" on PI
what do you mean by "setting the setup"? do you mean settingsetup_future_usage: off_sessionoroff_session: true, or something else?
Right, let me explain
off_session: true/false will be set differently on each invoice/subscription creation, depending if the user is on or off session in that specific flow
But my idea is always to set setup_future_usage: "off_session" on all PI associated to my invoices/subscriptions, so that if during the flow a default payment method is added (maybe using 3DS), that will be enabled for off_session, should I need it
Question is if setting setup_future_usage: "off_session" on PIs may have any drawback