#chiefwhitecloud
1 messages · Page 1 of 1 (latest)
Hi đź‘‹ I want to make sure I'm understanding your scenario correctly, So when a payment for starting a Subscription fails, you then create a new Subscription to try to accept a new Payment Method? And your dunning service is then picking up the original incomplete Subscription and trying to process a payment for that as well?
Gotcha. Would your flow be able to reuse the first Subscription for subsequent payment attempts rather than creating a new one?
Or is there a way that you can adjust your dunning service/utility to not pick up the original Subscriptions?
Ok I was thinking your first option is probably best. Otherwise I was looking at setting the invoice as cancelled or uncollectable.
One sub probably makes the most sense. Thanks for your help!
Any time! The only hesitation I have with that approach, is whether it works well for India-based customers.
A new sub would be best for them each attempt?
I could use a web hook to update the invoice if it has a failed attempt and the invoice is for subscription creation.
I can't recall offhand whether a failed payment from an India-based card results in the Subscription immediately being moved to a terminal state, and will need to run a test to confirm.
One thing I’ve noticed about these initial invoices is the billing_reason is “subscription_update”. The corresponding payment intent has a description of “Subscription creation”
Is this because we are on an older version of the api
Can you share an the ID of an Invoice where you're seeing that behavior?
Thank you, yes, your suspicion is correct that this is based on the API version you're using. subscription_create was introduced in 2018-10-31
https://stripe.com/docs/upgrades#2018-10-31
Ok that is likely why they are picked by the dunning service
Thanks for your help. I’ll get this fixed up. Have a good day!
Any time!
I was also able to confirm with my teammates that a payment failure on the initial payment shouldn't put the Subscription in an unusable state, even for India-based cards. So my suggestion would be to proceed with reusing the original Subscription that was created.
Ok thanks