#mattsulima
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ if the first Invoice for a Subscription doesn't require a payment, then the Subscription will generate a Setup Intent and you can use the client secret for that intent to initialize the Payment Element. The ID of that Setup Intent is stored in the pending_setup_intent field:
https://stripe.com/docs/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.
Sounds promising! I'll look into it, thank you !
Happy to help!