#LucidLaw
1 messages ยท Page 1 of 1 (latest)
Hi ๐ you can use Setup Intents to collect Payment Method details and handle authentication without immediately making a payment.
https://stripe.com/docs/payments/setup-intents
This guide walks through the process of using them:
https://stripe.com/docs/payments/save-and-reuse
Thank you, Merry Christmas and Happy New Year to you as well!
thank you
okay checking
I'm on docs now, and I can't see the language option for JS?
Sorry, please ignore
I can see it on the 2nd link
At the end, does it return the CARD_ID? We need it to save on our DB
The Setup Intent will create a Payment Method, and after the Setup Intent has succeeded you'll be able to find the resulting Payment Method by checking the payment_method field on the intent:
https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sounds good, let us know if that doesn't fit what you're looking for.