#cnguyen85

1 messages · Page 1 of 1 (latest)

trim latchBOT
#

Hello cnguyen85, 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.
https://discord.com/channels/841573134531821608/1164542086377377902, 0 days ago, 40 messages
https://discord.com/channels/841573134531821608/1164196532980027393, 1 days ago, 6 messages
https://discord.com/channels/841573134531821608/1163889854212485170, 2 days ago, 10 messages

oak cedar
#

Can you share the event id's?

#

Or request id's?

#

For the original and duplicate

dense sun
#

The difference between the both is "payment_method_types": [
"card"
],

and

"payment_method_types": [
"card",
"link",
"paypal",
"sepa_debit"
],

#

First one from me => evt_1O2x5EAQFq6YXPUQeVkSV8Cr
Second one from Stripe automatically => evt_1O2x5KAQFq6YXPUQroajrxtx

oak cedar
dense sun
#

Do you mean that the code is called twice ?

oak cedar
#

Well yeah. Those are two distinct request id's

#

Your code made both of those requests

#

You explicitly created 2 setupintents, so if that's unintended, then it's a bug in your code

dense sun
#

euh nut sure to understanrd

#

the request you sent me is , one for subscription and another one for setup_intent

#

so, why here is a setupintent creation for the subscription ?

oak cedar
#

Oh we create setupintents when you create a subscription with a trial (instead of a payment intent)

#

So that looks expected to me

dense sun
#

And why do you create a setup intent when oyu create a subscription ?

#

so it means it's normal

#

Because the user enter is card and we save it (so there is a SI creation, it's normal)

#

Then, right after, we create a subscription with the saved card (but here, you create a SI again ?)

oak cedar
#

You don't need to create a setupintent

#

If you create a trial with a subscription you can just use the setupintent from that subscription to collect payment details

#

That's why we create a setupintent for trial subscriptions

dense sun
#

And it means that you don't use the SI that I create before ? to be offline

#

And you have a code to generate a subscription by validating the card payment with 3DS ?

#

For me, we have to save the card in off_session before

oak cedar
#

Not sure what you mean by those questions

#

That's fine you can do that as well

#

But we always create a setupintent when creating a sub with a trial

dense sun
#

ok, I just have to don't handle it becaus I listen the si.created

#

thank you