#Harun - events
1 messages ยท Page 1 of 1 (latest)
What specific event are you looking at? Usually it's recommended to tie a checkout session to a customer by using the Stripe customer ID: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Right now i try to figure out how all the events connect to each other. Lets say i have 10 Users at the same time purchasing something. How do i figure out to whom which event is to be assigned.
Does that mean, that the user is only assigned by his stripe account? What if the user does not have an account?
Users don't need stripe accounts. What you would do is create a customer object for each person checking out: https://stripe.com/docs/api/customers/create and pass that id when creating the checkout session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer. That ties all events generated by that session to the created customer object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you so much, you really helped me out ๐
Have a great day!