#DeputyCheese-subscription-flow
1 messages ยท Page 1 of 1 (latest)
Hello ๐
The subscription that you create should have a latest_invoice property where you'll find a PaymentIntent that you can confirm (unless you offer a trial)
The PaymentIntent should then reflect requires_action status in case 3DS is required.
An alternative flow would be to
Create a customer > Create a subscription > Use subscription.latest_invoice.payment_intent.client_secret to render Elements, get payment method details and confirm the PaymentIntent > Subscription is now active
Thanks, but I'm already getting an exception when I'm using $stripe->subscriptions->create(...), it also says "Payment for this subscription requires additional user action before it can be completed successfully. Payment can be completed using the PaymentIntent associated with subscription.latest_invoice." but I cannot use the response I get from the subscription creation because of this exception
So I cannot create the subscription
Can you share the request ID where you're seeing this error?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Yes it should be this one: https://dashboard.stripe.com/test/logs?starting_after=1666792742-req_iGonD5q45MN1r4
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ah wait I think my mistake is using error_if_incomplete
yup, I was just going to suggest changing that ๐
So I should use allow_incomplete instead, right?
yup