#soumya

1 messages · Page 1 of 1 (latest)

undone zealotBOT
tall haven
#

hey there, you didn't respond when we asked you for more information earlier

#

Can you explain some context and what you're trying to do?

#

Are you referring to the usage parameter?

formal mauve
#

setup intent api

#

has off_session

#

what does it mean?

tall haven
#

WHere do you see that?

formal mauve
#

can u give an example here to unerstand clearly

#

confused about when it should be used

#

Hello ?

#

am i clear now?

tall haven
#

No, i don't understand what you need yet

#

Are you asking about the usage parameter?

formal mauve
#

yes

#

when do we use off_session and on_session values in usage paramters the docs explaination is not that great

tall haven
#

on or off session is about how you will be taking payments later. Will you customer be "on session" (in your app, on your website etc) when you trigger payments, and will be able to handle authentication if needed?

#

If you will create payments in the background without the customer "online" then this would be off session.

#

(the customer is not available to handle authentication requests etc)

formal mauve
#

if we keep it off_session and if card required 3ds authentication will the card added successfully?

tall haven
#

Your customer would complete 3ds during setup

formal mauve
#

by defualt what is the value of usage?

tall haven
formal mauve
#

for subscription renewal will this effect anything because we will just receive an event from stripe when renewal happens

#

because this will be a background event

tall haven
#

Yes, those are off session. If you use the setup/payment intent created by the subscription for you, it will be configured as needed

#

If you create you own setup intents before subscriptions, use usage=off_session

formal mauve
#

Okay

#

we are using setup intent to add cards and then subscribe the user to plan

#

by defualt will it be off_session?

tall haven
#

Yes, thats the documented default

#

I would recommend you test your integration throughly

formal mauve
#

Okay