#gitanes-customerID

1 messages · Page 1 of 1 (latest)

unkempt robin
frozen tapir
#

i don't get it, i need the customer id. when someone triggers checkout, how do i know who it is

unkempt robin
#

the customer id is linked to other attributes in the customer object. On your dashboard, you can look up your Customers's details by their emails. Customer ID will be displayed under Customer Details as well

#

I hope this helps, let me know if there's anything else you need to clarify

frozen tapir
#

but i need to do this programmatically

#

i have this code js const session = await stripe.checkout.sessions.create({ payment_method_types: ['card'],

#

i need to pass the customer id when i create the session so that the payment is linked to the same customer

unkempt robin