#Nick Ortega
1 messages · Page 1 of 1 (latest)
Hi there! Can you share more details about what's confusing?
A key thing to note about Stripe customer objects is that emails for these customer objects don't have to be unique. For example, you can have multiple customer objects in your account with the email address roadrunner @ example.com
Any mapping of email address (and/or customer ID from your system) to Stripe customer ID should be stored on your end
In the photo above, I am attempting to send the customer obj back to Stripe Dashboard, but I believe I am sending it incorrectly (line 31). I am trying to replicate the same process like in "create-payment-intent" (line 44) which I know is correct
But I cant find it in the API docs
Ah, there's no client_secret property for customer objects
After creating a customer, I'm assuming you want to retrieve the ID for the newly created customer object. You can use customer.id
Then what would I send back to Stripe if I'm not sending the client secret ?
wait would it just be as simple as res.send({id: customer.id });
on line 31 ?