#khadim-yaseen_docs

1 messages ¡ Page 1 of 1 (latest)

dreamy jettyBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1278321428336480268

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

glad wedge
#

Unfortunately that's not really supported today. You can sort of 'validate' the card initially, and assuming that suceeds then create the subscription. But overall that's not really recommded nor will it prevent all kinds of declines/errors (such as insufficient funds)

steady bobcat
#

Thanks for you response.
Can you guide me how do i validate the card initially?

narrow grove
#

hi! I'm taking over this thread.

#

you could create a SetupIntent first, but like mentioned above, that's really not recommended:

  • that may lead to two 3DS flow in a row
  • the card can still be declined by the bank, for example because of insufficient funds
#

An incomplete subscription gets created on the stripe dashboard. I don't want that.
what is the issue with having incomplete subscriptions?

steady bobcat
#

Actually its my client.
"we're going to have the wrong data in terms of acquisitions. Given that once the membership is created it will be counted in our acquisition metrics, and will also influence our churn given their membership will be cancelled.
We need to prevent the membership from being created in the first place, so that it doesn't affect our KPI's."

narrow grove
#

another option would be to accept a one time payment from the user while saving the card for future use, and if that succeeds, create the Subscription with a 100% of coupon for one month to avoid charging the customer twice.

#

but still, the following payments might fail.

steady bobcat
#

Thanks you @narrow grove @glad wedge .

what i did before, I used a webhook that tracks "setup_intent.setup_failed" and canceled the subscription.
But yeah I will try to talk to the client.
Thank you guys again