#as97-customer-duplication
1 messages · Page 1 of 1 (latest)
Hey! There is not I'm afraid. You can have multiple customers using the same email address
What's the use case?
We've found that someone is creating multiple subscriptions with the same product/price repeatedly, and being charged multiple times instead of once
You'd need to handle that on your side. Do you have some kind of auth/user implementation? Are you associated the Stripe customer with those users?
yes, we do have that
How are users able to create multiple Stripe customers then?
I think it's because our user management system only interacts with the customer after they've made a subscription. Our flow is:
Landing page view > Pre-built Stripe Checkout > Account Creation
We've seen multiple subscriptions being created on the pre-built stripe checkout with the same email and card details, leading to the same card being charged multiple times - my best guess is that the customer is refreshing a lot on the pre-built checkout page
You need to prevent Checkout Session creation for your customers who are already subscribed
How could we best do that? We can only identify users in our flow after the subscription has been created
Can you not check to see if your user has an active subscription or an assigned Customer ID cus_xxx?
Unfortunately not, as we are using pre-built checkout flow. Plus, they are directed to this checkout flow from a landing page on which there is no authentication
Checkout doesn't determine whether or not the user has a pre-existing subscription I'm afraid
That's up to your implementation to prevent additional subscriptions
Cool, thanks