#dais-subscription-failed
1 messages · Page 1 of 1 (latest)
Ah I see, yep definitely remember this! Thanks for the quick reply
@strong prairie Thank you very much for your quick answer. I'm working on this project with @safe abyss:
Our customer has a default payment method that expired, which ended up cancelling their subscription. 6 months later, they paid their past due invoice with a new credit card.
Now that the invoice is paid, we're trying to resuscitate the subscription by creating a new one and attach their default payment method (which is failing) to the subscription and not charge their card until the next billing cycle.
Unfortunately I'm unable right now to create a subscription because Stripe's API responds with a payment declined error. Is there a way to ask Stripe's API to not capture a payment on subscription creation, then set the schedule to start running on the next billing cycle perhaps? Or perhaps there is a better way to achieve what we're trying to do?
Thanks again!
Hello, can you send me a request ID from a time that you got that error (req_123)?
You can get them from the API https://stripe.com/docs/api/request_ids
Or your dashboard:
https://dashboard.stripe.com/logs
Thank you @cyan cypress : req_9ICN7w67KAbyz5
It looks like your API call is set up properly, unfortunately that just looks like a bank decline so we don't have much insight in to why it happened. You may be able to try again later and have it succeed, if not you may need to collect payment method info from that customer again
Sorry I should've been more clear:
I'm trying to build this flow from my dev environment. This subscription is a test one and the card declined is intentional (it's a Stripe test credit card).
We are trying to resolve a recurrent issue in our platform where customers fail to pay their subscription and get downgraded on our end because the subscription is cancelled. Later they pay their invoice from a reminder email, but the subscription remains cancelled so we are building a flow to resuscitate these workspaces if that makes more sense.
dais-subscription-failed
@stable jetty I'd highly recommend "voiding the Invoice" so taht they can't pay it if the Subscription is canceled
It seems like the easiest solution indeed. Let me talk to my team about this!
In the meantime, you don't think there is a path for us to create a subscription, attach a (failing) default payment method and not charge the customer for the first cycle?
Do you mean just for testing or something else?
I mean as a production safe flow
a flow where we could automatically re-create a subscription for a customer with only the information we have in hand (the old subscription, and the payment methods available via the Stripe API for this customer)
I don't understand why you would want that I'm sorry. What are you doing with that Subscription is they won't pay?
The subscription gets cancelled because their payment method fails (expiration for instance). Later they realize that their account was downgraded because they didn't pay attention to the reminder emails, and all the banners we put on their accounts. They go through their emails to find and open an old reminder email, click the link on it, and pay via directly via Stripe. The expected behavior here is to recreate a new subscription matching the cancelled one: since the invoice is now paid, we shouldn't capture the payment until the next billing cycle.
The idea behind is to minimize churn but letting customers pay via the invoice, and give them a seamless experience. Does that make more sense?
Kind of. But I'd ~never allow that if I were you
void the Invoice so that it can never be paid, prevent them from doing that and add a recovery flow on your website/app
Okay, and that recovery flow would essentially capture a new working payment method, and create the subscription the way it was previously, right?
Thank you for your help, I'll make sure to relay that to our managers!