#lafafm
1 messages · Page 1 of 1 (latest)
Hi
Not sure I understand your issue, but the recommended way for integrating Subscription is following this guide:
https://stripe.com/docs/billing/subscriptions/build-subscriptions
Creating the Subscription, then collect payments details from the customer
Yea
That's the issue
When I creating the subscription for the customer who don't have a payment method attached - I'm getting an error provided in the first message
E.g. I can't obtain a payment_intent
How are you creating the Subscritpion ? could you share the requestId ?
thanks for sharing, you should set payment_behavior: 'default_incomplete' instead of allow_incomplete
Hmm
Yea, I expected default_incomplete to help me in that case
What's the difference in their behaviour? In case of default_incomplete should I manually "confirm" each subscription then? Or it would be in incomplete status only if it requires some additional action?
The recommended way is to use default_incomplete like the official guide is mentioning, you should following it for unexpected behavior.
But the difference between the two options can be found here:
https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_behavior