#vijju
1 messages · Page 1 of 1 (latest)
do you have the ID sub_xxx of the Subscription?
yes
"subscriptin_schedule id" :sub_sched_1MqwnzSJsMWpZw6eHFOEtuO4
"customer": "cus_NcB9ZtUcdcTD7X",
well your Price charges every 41 days, and it hasn't been 41 days yet.
yes
but my question is at that time the card i added will expire so I thought it will fail
you mean you expect that we don't let you add a card that has an expiry date before the time the subscription will next charge, and we would block/decline that attempt to add the card?
we don't , it doesn't work that way
oh
so if a card expires then how that card can be used for payment
well for example maybe the card will get updated between now and then.
maybe the bank will allow the charge on the expired card(that is common too)
if you want to , you can write your own code to detect the expiry date on the card and check the next date on your subscription and warn the customer, but it's not something we have built in and we don't block the attempt
ok
understood
so if a card expires, at that time also stripe can charge that card
once a card added
what is the case payment fails?
not sure what you're asking.
i want to know when a payment fails in recurring Subscription
there are docs on this e.g. https://stripe.com/docs/billing/subscriptions/overview#settings
thanks