#gcs
1 messages · Page 1 of 1 (latest)
Hi there, do you mean 0 line_item when you create a Checkout session for subscription?
hey jack, yes, i believe so. the goal would be to have all of these quantities default to 0 and have the maximum total be 1 (so a user can ONLY select one of these options)
Our most basic plan.
I believe the minimum quantity is 1, I don't think you can set a 0 quantity.
What if we have three subscriptions and we want a customer to choose 1?
You can set the line_items to the one that you want your customer to subscribe when creating a checkout session https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Got it, and with our embed form link could I put that in an unbounce page?
What you mean by an unbounce page?
It's a website hosting service - i'm curious if you were aware if we could use that to host our form and if we could go entirely through the checkout flow
Sure, you can use your own domain for Stripe Checkout https://stripe.com/docs/payments/checkout/custom-domains
Got it thank you!