#__rob1986__
1 messages · Page 1 of 1 (latest)
Hello! There's no way to create a customer portal session if it wasn't created for a subscription - so the only way would be to require customers be created for all Payment Links (which you can configure easily if you're creating these links through the API https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-customer_creation)
currently i created the product and then its associated payment link,
instead you are saying that i can do this entirely via the api?
so i wont have to manually create the payment link in the stripe dashboard anymore?
does this api call also make the product?
ah , the product needs to already exist, and i pass it via the line_items parameter
You don't have to create the PAyment Link through the API - I'm just saying that's how you would do it if you did create thoses links through the API