#joshuacs94
1 messages ยท Page 1 of 1 (latest)
Elaborate on what? ๐
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The docs say use_stripe_sdk is optional but doesnt specify the default value
Ah okay
Misunderstood if you were asking what that property does, or its default, or what.
and I want to know whats the difference between setting it to true and not setting it at all
It defaults to true, yes.
Unless you set a return_url
The behavior is that if 3DS is required then you confirm client-side using Stripe.JS to handle 3DS
Versus if you set that false and provide a return_url then you handle the 3DS flow yourself
Perfect, another question I have is it possible that when await stripe.handleNextActions returns the returned payment intent is still in requires_action?
the problem we had is we called await stripe.handleNextAction with the clientSecret and then called an endpoint to complete the process but it looks like that call happened before the authentication completed
Yeah https://stripe.com/docs/js/payment_intents/handle_next_action indicates that it will either be processing or succeeded