#joshuacs94

1 messages ยท Page 1 of 1 (latest)

gloomy flickerBOT
#

Hello! We'll be with you shortly. 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.

tribal sable
#

off_session is used to tell Stripe whether or not your customer is present in the payment flow. So if you set off_session to true then Stripe assumes that the payment is off session and the payment is being made on behalf of the customer without any manual intervention on their end

deep moat
#

but then why would I set off_session: false if it introduces that friction to the payment flow? ๐Ÿ˜…

tribal sable
deep moat
#

our PMs are already setup, we have a separate setup flow

tribal sable
#

Then you shouldn't need to use off_session: true

deep moat
#

I thought it would be better to set off_session: true when the one trying to pay the invoice is the user that has to pay it, but then I noticed that with true the invoice payment throws an error saying the PI requires action, but if I set it to false then it completes without problems

#

sorry, its the other way around

#

ah no, its like that ๐Ÿคฆโ€โ™‚๏ธ

#

with true: error

#

oh sh*t its the other way around, Im confused ๐Ÿ˜‚

tribal sable
#

All good, it happens ๐Ÿ˜…

deep moat
#

true: success
false: error

#

so my thinking is wrong? I dont have to set it to false ever?

tribal sable
#

If the Payment Method is already set up for future payments and the Payment Intent doesn't have status: 'requires_action, then yes

deep moat
#

actually, I only set it to FALSE if the user calling payInvoice is the one that has to pay it, I set it to TRUE otherwise

#

ok, so off_session: true... but I still dont know when it makes sense to set it to false, lol, whats the benefit of it?

tribal sable
#

If the customer is on session, that means they're physically at their computer pressing a button or something. If the customer is off session, it means they're not there and you're making the payment on their behalf.

deep moat
#

thats the problem, in this case, the user is there pressing the button to pay the invoice, but why would I set it to true when it throws an error but sending false completes the payment??

tribal sable
#

Likely because when you set it to false, Stripe is prompting for 3DS. Like, that one payment may go through if you've already set the Payment Method up for future payments, so you would only use false if you want to have them prompted for 3DS and set up the Payment Method for future usage

deep moat
#

so in this case that the PM is already setup it doesnt make any sense to set it to FALSE?

tribal sable
#

That seems to be the case

deep moat
#

ok, man, thanks for your time

#

have a nice day