#imox29
1 messages · Page 1 of 1 (latest)
when a user pays from payments link (checkout), stripe creates a new customer even when if i pass the customer_email and client_refernce_id in the url
how can i attach the subscription created via the above link to an existing customer?
You can't using payment links, currently, that's not possible
We've heard the feedback though and are looking at ways to offer support for this
If you want to add subscriptions for existing customers using CHeckout, you need to create a single use checkout session for that customer:
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.
so i have to use checkout api only to achive that or is there any other low code alternative?
the Checkout Session API, yes