#alle00
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
What do you mean by "expire" exactly?
Could you please share the Subscription ID? sub_xxx
I mean the following:
- user has paid for a year
- the year has passed on sept 1st
- the user card gets declined or something else happens
- i want to give them a grace period of 7 days to pay before locking them out of the service and during those 7 days i want the subscription to not be in "active" state but rather something else to let them know that they are in the grace period and that they need to pay
sub_1Nhs5zBUxUDyk36hNTmiCtLl
Ok, Stripe will retry the charge a couple of times before setting the Subscription as canceled or unpaid (depending on your subscription settings): https://stripe.com/docs/api/subscriptions/object#subscription_object-status
You can manage the settings here: https://dashboard.stripe.com/settings/billing/automatic
You can even send an email to the customer automatically with a form to update their failed Payment Method.
if I create a payment_intent with type set to subscription and redirect users to your side to pay, and his payment doesn't go through, will the subscription be created and set to unpaid or will it not create a subscription? I am asking because I don't want first time users who try to signup to end up in unpaid but rather i want the users that already had an active subscription to end up in unpaid state
There's a confusion here: "payment_intent with type set to subscription". Do you mean Stripe Checkout in mode "subscription"?
yes, sorry!
No, those Subscriptions will be in state: incomplete.
But I believe if you use Checkout, the Susbcription isn't created until a customer provides a valid Payment Method.
Happy to help!