#cnguyen85
1 messages · Page 1 of 1 (latest)
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
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
Ah they're actually both from your code, so if that's unintended, it's a bug in your code:
https://dashboard.stripe.com/test/logs/req_DsoFaa8vCcoMCE
https://dashboard.stripe.com/test/logs/req_8kO0vKNXBWJ790
Do you mean that the code is called twice ?
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
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 ?
Oh we create setupintents when you create a subscription with a trial (instead of a payment intent)
So that looks expected to me
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 ?)
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
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