#b33fb0n3
1 messages · Page 1 of 1 (latest)
Stripe uses customer ID in customer field for one single customer instead of email: https://docs.stripe.com/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.
I'd recommend creating a Stripe customer with reference to your own customer ID and always sets in when creating a Checkout Session: https://docs.stripe.com/api/customers/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I can't. Because I use stripe with the telegram bot api and the bot itself creates the paymentintent and directly confirms it... :/
Are there any ways to attach payments to a customer or merge customer to a single customer? Maybe even detach all payments from a customer and create a single main customer and attach every payment to it?
I'm afraid this is not possible. Once the payment is created from a Checkout Session, the customer can't be re-attached to a customer. Customers also can't be merged into one
The only way is to create a customer first, then assign it to a Checkout Session
hm ok, got it. What about detaching and attaching payments?
A payment can't be attached or detached from a customer
ok, am I able to connect specific customer like stripe does?