#BugKiller
1 messages · Page 1 of 1 (latest)
I'm getting 'incomplete' in stripe.subscription.create.
where can I get a reason of it?
in response
Hi
First, I invite you to refer to this guide in order to understand the lifecycle of the Subscription.
There isn't a clear field that displays the reason behind "incomplete" subscription. But the main reason behind is that the subscription isn't paid
sometimes, it could be about card is expired
so wanted to know how to get a reason
same, that lead to unpaid subscription
But here how you need to handle failure payments with Subscription
https://stripe.com/docs/billing/subscriptions/webhooks#payment-failures
You can refer to this field on PaymentIntent in order to get more details about the failure reason behind:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error
Prorations is working for cancelled subscription?
I mean, user has subscription and canceled it
but user is still in period of canceled subscription (to give right access until end of period)
and user is trying to upgrade.
to other plan
You can specify to prorate or not when canceling the subscription
https://stripe.com/docs/api/subscriptions/cancel#cancel_subscription-prorate
I'm asking you about proration in specific case
user has canceled subscription (but in period of it) and upgrading to other subscription
always giving a link instead of answer?
Sorry I thought I'm answering you.
When you cancel the Subscription, you can specify to not prorate, and create a new annual subscription that start from the next billing period of the previous subscription, and set the billing cycle to the 1st of January 2024
the link I shared is where to specify the prorate option
you understood my question?
let's say user made subscription in 3rd/Jan (monthly)
and canceled in 20th/Jan ( so user doens't have active subscription now. but have access for the canceled subscription until 2th/Feb)
in this case, user is trying to upgrade another monthly plan
then should we do some proration or nto?
proration is available for this case too?
You are asking for another use case so.
but have access for the canceled subscription until 2th/Feb
this is tracked in your integration.
in this case, user is trying to upgrade another monthly plan
I would say user is created a new subscription with another monthly plan, because the first one is canceled/deleted
proration is available for this case too?
If not the previous Subscirption is canceled, then no proration can be applied via Stripe.