#Matt11-Sub-Status

1 messages ยท Page 1 of 1 (latest)

magic whale
umbral oyster
#

Hi! unfortunately yes ๐Ÿ˜„ but it is really complicated and there's no a way to understand where an error push your subscription status.

magic whale
#

Okay, happy to help! Can you ask specifically what is confusing you or what the situation is?

umbral oyster
#

for example, if I have an active subscription and during the renew the card has insufficient funds, in which state it will be? unpaid? past_due? is not so clear

magic whale
#

"Unpaid" isn't an option for subscription status.

#

If a payment fails, then the subscription status will depend on your settings for how you want to handle failed payments.

#

It will move to past_due if you are allowing for retries

umbral oyster
#

why do you say that ""Unpaid" isn't an option for subscription status."? tha docs are saying this:

#

and unpaid is present

magic whale
#

๐Ÿคฆ

#

So sorry, moving too quickly

umbral oyster
#

and how can I manage the failed payments?

magic whale
#

Let's back up a moment

umbral oyster
#

for the failed payments?

magic whale
#

Yep. That will determine the status of the Subscription when payments fail

umbral oyster
#

sorry but this is not my stripe account so I didn't configured

#

it says: use smart retries max 4 times within a week

#

subscription status if every retry fails: cancel

magic whale
#

Perfect so that lets you know what will happen

umbral oyster
#

and keep the invoice as is

magic whale
#

It will be in past_due until all retries fail

#

Then it will move to canceled

umbral oyster
#

even if the customer fails the 3ds or close the windows before complete the procedure?

#

and can I understand better the "unpaid" status? when it will occur?

magic whale
#

What collection_method are you using with your Subscriptions?

umbral oyster
#

mm I think I don't know

#

how can I check it?

#

is it a setting?

magic whale
#

Basically, are you sending an invoice to your customer for payment or are you collecting their details and then charging them automatically?

umbral oyster
#

I don't pass any option so charge_automatically

magic whale
#

Got it.

#

So most of the time 3DS should only be required for the initial payment.

#

But it is still possible for issuers to require it later so it is good to have a method to bring your customers back on-session if needed

#

That said, if they are trying to complete 3DS and fail or an automatic payment fails for insufficient funds, this will count as a retry

#

Once all of your retries are used up, according to your settings that we discussed above, the Subscription will transition status to canceled

#

With canceled the subscription will not continue to generate invoices

#

However, if you change that setting to set the subscription to unpaid, then the subscription will continue to generate invoices, however for those invoices payment won't be attempted automatically. You would force payment on them if you so desired.

umbral oyster
#

ok, so with this setting I will never end in unpaid state

#

and incomplete is similar to unpaid but only for first time payment after subscription creation, isn't it?

magic whale
#

Correct!

umbral oyster
#

so it is possible to pass from incomplete to past_due

#

or only from incomplete to canceled or incomplete to incomplete_expired?

magic whale
#

Yeah you can't go incomplete --> past_due

#

incomplete --> active or incomplete --> incomplete_expired

umbral oyster
#

nice!

#

my settings are one product with trial and onw without it

#

so I think that these are alle the possible state changes:

#
  • 'active' -> 'active'

  • 'active' -> 'past_due' -> 'past_due' -> ..N.. -> 'canceled'

  • 'active' -> 'past_due' -> 'active'

  • 'active' -> 'incomplete' -> 'active'

  • 'active' -> 'incomplete' -> 'incomplete_expired'

  • 'active' -> 'canceled'

  • 'trialing' -> 'canceled'

  • 'trialing' -> 'past_due' -> 'past_due' -> ..N.. -> 'canceled'

  • 'trialing' -> 'active'

#

do you think that there're others?

magic whale
#

You should never move from active --> incomplete

#

Incomplete is only for subscription creation

umbral oyster
#

you're right

#

I think it's all clear

#

thank you for your patience @magic whale ! ๐Ÿ™