#impractical_panda
1 messages · Page 1 of 1 (latest)
That is the expected behavior. The PaymentIntent will only be on the invoice if there is a payment to be made. For trials there is no payment so a SetupIntent is created instead
So, following that guide I linked, should I use the ClientSecret from the SetupIntent to use in PaymentElement before calling stripe.confirmPayment()?
It would be a confirmSetup call but yes
Looking for where you would find the setup intent here...
Here we go: 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.