#DT-subscriptoins

1 messages · Page 1 of 1 (latest)

humble slate
#

Can you share an example invoice ID (something like in_xxx)?

tidal spear
#

Do you want the full invoice id?

humble slate
#

Yup!

tidal spear
#

This is in our test environment in_1L7nwgFl4EumnGYfALB3TZS9

humble slate
#

Taking a look now!

#

We're not attempting payment because that subscription / customer has no default payment method to actually use in the attempt - if there were a default payment method we would actually attempt to charge it.

#

and one more thing to add actually

#

What's even more important is that we're not finalizing these invoices because the Subscription is unpaid (see https://stripe.com/docs/billing/subscriptions/overview#unpaid-subscriptions). You need to read that section and follow those instructions to reactivate the subscription so that the invoices finalize + attempt payment (you'll also need to add a default, since there's no point in attempting payment when there's no payment method)

tidal spear
#

How do we handle the case where we always want to attempt collecting on draft invoices if there is a default payment method and when the subscription is unpaid?

humble slate
#

Did you read the section I sent you? You'd have to update the invoice to set auto_advance: true so that it finalizes and attempts payment

tidal spear
#

I did

#

Is there a system setting to do this automatically without calling an API?

humble slate
#

No, you have to do it through the API