#Hansi
1 messages · Page 1 of 1 (latest)
Hi 👋 you could create a new Subscription, but the first one that was created will also likely still be in place as well.
Yes, we managed to create a new one, however, when adding payment details, the first one is completed instead of the second one. Any chance I can define the subscription that should be completed?
Can you elaborate, how are you "completing" these Subscriptions?
by adding the payment details
Can you provide an example of a request that you're making to complete a Subscription?
we render the elements (stripe payment component) with the subscriptionClientSecret that is returned by the subscription creation method
Ah, I see, are you creating a new elements instance when you're creating the new Subscription? Those Elements instances are tied to a specific Payment Intent, so if you don't create a new instance based on the client secret of the new Payment Intent it is expected for Elements to process the payment against the client secret that it was originally provided with.
yes, exactly.
Okay. right. So we would besides the new subscription create a new instance. during the process
Yup, exactly.
Cool. We will try that. Thank you
Any time!