#Ian Kaplan

1 messages · Page 1 of 1 (latest)

ember locustBOT
carmine saffron
#

or is there a good reason to set off_session=true sometimes

#

that i might be missing

static forge
#

I think that it will just transition the Payment Intent to requires_action if off_session is set to false. How are you sending emails? Via Stripe or your own email server?

carmine saffron
#

our own email server

#

we send them a link to a page with a payment that gets mounted with the client secret

languid shadow
#

The main difference is going to be how authentication actions are represented

#

When off session, you'll get a decline with a code that indicates authentication_required

#

Otherwise when on session, that "soft decline" is managed by the internal payment intent state and you can handle the action with the customer

carmine saffron
#

that internal payment intent state would be requires_action

#

?

languid shadow
#

that's right - yea

#

status=requires_action

#

and you handle the action with the customer using stripe.js

carmine saffron
#

got it thanks.

languid shadow
#

You can either handle the card action in a modal managed by Stripe.js, or redirect the customer to a 3ds confirmation page

carmine saffron
#

right we use the modal

#

so basically my app handles the on vs off_session logic and will actualy send an email if its off_session to handle the customer action

languid shadow
#

Yep that sounds reasonable