#vell2x
1 messages · Page 1 of 1 (latest)
Hello! I don't think I have enough information to answer that. Can you tell me more about what you're doing? Like which Stripe products/APIs are you using?
I am using Stripe Checkout
Okay, and your goal is to use an existing Customer?
Yes, a customer account is created for the user when they register, and when they pay for a service we want the transaction to be attached to their account.
You should use the Customer ID when you create the Checkout Session in that case.
Can you point me in the direction to do that?
Here's the API reference for setting the customer property when creating a Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer