#chiefwhitecloud

1 messages · Page 1 of 1 (latest)

still adderBOT
near thunder
#

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?

fathom kayak
#

Correct

#

Hi! đź‘‹

near thunder
#

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?

fathom kayak
#

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!

near thunder
#

Any time! The only hesitation I have with that approach, is whether it works well for India-based customers.

fathom kayak
#

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.

near thunder
#

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.

fathom kayak
#

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

near thunder
#

Can you share an the ID of an Invoice where you're seeing that behavior?

fathom kayak
#

in_1MjHHGIJYO6sWeqON3rOHnte

#

And pi_3MjHHGIJYO6sWeqO0AHfR5yg

near thunder
fathom kayak
#

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!

near thunder
#

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.

fathom kayak
#

Ok thanks