#Daltera-existing-user
1 messages · Page 1 of 1 (latest)
Hello 👋
Can you provide more context on how you're registering them?
Are you creating new customer objects or are you creating new connected accounts?
creates a new stripe subscriber after session is confirmed
I need to check if it already exists in the stripe as a subscriber
Do you mean "if they exist in as a customer on your account" or "if they exist across all of stripe"?
just know if he is a customer I want subscribed,
the client "logs in" and is authenticated in the session,
it creates a direct stripe subscription, confirm later if it is already a stripe customer
Ah, I see! Okay, so the best route would likely be to store customers in your own database and query for each customer's name, address, etc.. If you're hoping to accomplish this purely using Stripe, then you'll want to do a Customer search (https://stripe.com/docs/api/customers/search) using a query string (https://stripe.com/docs/search#query-fields-for-customers) that contains information that the customer inputs into your subscription checkout form