#Naveed | Web3Auth

1 messages · Page 1 of 1 (latest)

worldly briarBOT
west saddle
#

Also, is this confirmation of payment intent considered as off session or on session? Should I create the subscription as on session?
The payment attempt of the first invoice is done on_session as the customer is in the checkout flow.

stoic vessel
#

I see, and so once this is set up does this guarantee further recurring charges wont have 3d secure

#

or is there no guarantee of that

#

if not i guess i can use Stripes built in 3d secure email?

west saddle
west saddle
stoic vessel
#

Whats the difference between allow incomplete and default incomplete though

west saddle
#

Use allow_incomplete to create subscriptions with status=incomplete if the first invoice cannot be paid
and
Use default_incomplete to create Subscriptions with status=incomplete when the first invoice requires payment, otherwise start as active

stoic vessel
#

so i take it this means in scenarios where the subscription can get created successfully it would start off as incomplete?

#

for default incomplete i mean

#

as in if i have a payment method on file and i create subscription it can either

  1. fail (maybe due to 3d secure requirement)
    or
  2. succeed
west saddle
#
  1. fail (maybe due to 3d secure requirement)
    When following the guide I shared with you, it shouldn't fail, because that integration take into account 3ds too
worldly briarBOT
stoic vessel
#

to differentiate between 1 and 2, in the backend should i have some condition to check like this

// ...
}```
#

cuz if it fails to update i will have to send the client secret back like subscription.LatestInvoice.PaymentIntent.ClientSecret

west saddle
stoic vessel
#

Hmm yes ur right, it seems that i get back a payment intent regardless of whether or not the customer has a valid card on file or not which is what im looking for