#Daltera-existing-user

1 messages · Page 1 of 1 (latest)

green widget
#

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?

latent grove
#

creates a new stripe subscriber after session is confirmed

#

I need to check if it already exists in the stripe as a subscriber

plain berry
#

Do you mean "if they exist in as a customer on your account" or "if they exist across all of stripe"?

latent grove
#

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

plain berry
#

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

Look up objects in your Stripe data.