#ledev-fou-fou-fou_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1364553934361989152
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- ledev-fou-fou-fou_code, 13 minutes ago, 10 messages
You're probably looking at the wrong property for the client_secret. If you use a trial, there's no initial payment so we instead populate the pending_setup_intent property: https://docs.stripe.com/api/subscriptions/object#subscription_object-pending_setup_intent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok and it's force 3dsecure ?
It will trigger the 3DS challenge flow on confirmation yes
If a trial and pending_setup_intent is set you'll need to use confirmSetup. Probably need to have some logic in your code to check that
logic is here. Before I used setupIntent and after 15 days, I create subscription, but because any 3DSecure is present, many reccurence failed
you have doc for setupintent js after subscription and trial_end ?
how I can have client_secret with pending_setup_intent to active confirmSetupIntent with js ?
No, I don't think there's an example with pending_setup_intent, unfortunately.
Which part do you have the problem with exactly?
Could you share your current code?
it's ok. in fact, pending_setup_intent return only id, I have request to setupIntents->retrieve to return client_secret
and use confirmSetupIntent properly
You can also expand=["pending_setup_intent"] when creating the Subscription