#sadilet
1 messages · Page 1 of 1 (latest)
No that's not currently possible -- using customer-email can pre-fill the email field in checkout but does not tie the session to an existing customer with that email address. You'd need to create your checkout sessions manually to achieve that by sending a customer value.
So then could you please tell me for what kind of tasks others use it?
Because passing customer id seems like base requirement
@atomic umbra
What do you mean by this?
You can pass an existing customer when creating your own Checkout sessions:
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.
But this is not possible today with the Pricing Table
I mean, how other businesses use pricing table, in what cases they use it if it’s unavailable to pass customer id?