#T-Bone
1 messages · Page 1 of 1 (latest)
Hi, can you add more details or reword the ask please? I'm not 100% certain of what the question means.
Sure.
To be fully clear, I am talking about Nodejs SDK.
When a new customer is created, a customerId is returned. What I am trying to understand is, do a customer lives within a payment session? Meaning that when the payment session expires or is canceled, then is the customer also gets expired? Or is customer created just once and that customerID is sticking to that created customer?
How are you integrated? How are you creating these customers?
That will actually depend on the answer. What I would like to happen is that, once the users are registered to my website, I would like to save them as customers into Stripe as well, and store the returned customerId in my database so when I receive a request from a specific user, I know what is the customerId of that user. But if customerId of a user is changing everytime they are logging in, or expiring after some time, this is not going to be possible.
yeah, it works how you explained on the first sentence there. Once you create this customer, you can keep reusing this customer id