#bharat-duplicate-subscription

1 messages · Page 1 of 1 (latest)

dull canopy
#

Hello! I'm not sure I follow the ask. Is the problem the duplicate subscription?

#

@clear kestrel do you have more details?

clear kestrel
#

Hi @dull canopy, so I think I understand why duplicates are happening - someone created a subscription where the card setup failed and then created another one that succeeded. I'm wondering how this should gracefully fail - do subscriptions with pending_setup_id !== null end up being cancelled or anything?

dull canopy
#

no they wouldn't cancel

#

what you are supposed to do is re-use the existing subscription and confirm that one

#

not create a new one

#

does that make sense?

clear kestrel
#

Yes it does. Thank you! Relatedly, if someone creates a subscription that fails like that and the subscription is still created (no setup intent confirmed), how do we prevent that user from accessing what's behind paywall? Should we prevent access for subscriptions that still have pending_setup_id !== null

dull canopy
#

yeah that's a solution

#

depends how you view a trial period overall. Since they don;t pay you could just give full access

clear kestrel
#

Ah I see, because the trial won't go on to convert successfully later without a card setup correctly completed. Makes sense

#

And then if they do try again we should re-use the existing subscription

#

Thank you