#meisei81-subscription

1 messages · Page 1 of 1 (latest)

steep orbit
#

It says "a new invoice will be created", but when will it be auto paid?

#

Now we're designing the subscription program and it comes up a problem that when stripe to auto renew the plan. If stripe auto renew before the plan expire, we want to know what's the time that stripe advanced. If stripe auto renew after the plan expire, we should extend the plan in case of avoiding the user cannot use our service.

weak cedar
#

This is automatically managed by Stripe. There're multiple settings involved in this. The simple answer is that Stripe won't change the subscription status till the payment is attempted on the invoice. You can look at the next_payment_attempt [0] when the invoice is created to determine when is the payment attempt.

In https://dashboard.stripe.com/settings/billing/automatic, you would also have configurations for how a subscription should behave when payment retries fail.

[0] https://stripe.com/docs/api/invoices/object#invoice_object-next_payment_attempt

steep orbit
#

So you mean that we should listen on the subscription status? What the status should be listened?

steep orbit
#

Hi, which java sdk version could use the TestClock function?

weak cedar