#env
1 messages ยท Page 1 of 1 (latest)
Hi ๐ you likely don't want to create a Payment Link for flows that are for a specific Customer. Payment Links are meant to be publicly shared and are not Customer specific.
What is your desired goal? Creating a Subscription is possible and may be what you want to do.
ok, maybe i misunderstood some parts of the workflow. we are using a custom formular for the customization of our products. what would be the best practice approach to support a free version as well as some paid plans?
Sorry, I'm not sure I'm clear what you're looking for assistance with. Do you have your desired pricing model laid out and you're trying to figure out how to build that in Stripe?
yes, the pricing model is done
we are just stuck at the step using those in our pricing calculator used by the customers
currently, we custom built the pricing page (overview of all the plans / configs we are supporting), maybe we do need a stripe checkout page?
sorry if my request is a bit convoluted ๐ we are still new to stripe and there's just a lot to take in
Hello ๐
Taking over as toby needs to step away soon. It sounds like what you really want is create a $0 product and subscribe the customer to it when they sign up for a free plan
ok, so no steps in between, the workflow for the free plan would be:
create customer -> create subcription (which links the 0โฌ stripe product and the customer)
That's correct. You'll need a product/price for $0 amount that you can create a subscription for.
sounds good!
how would the workflow differ when the product is not free? we would need another step in between, right?
create customer -> create payment intent? -> create subscription (which links the selected products and the customer)
Nope, you'd still follow the same flow as you'd for $0 product.
Creating a subscription with non-zero amount will create an invoice which will then have the payment intent
We have a guide here that walks you through step by step
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
what do we need to do for getting the payment method of the customer? we don't want to implement the stripe elements ourself, we want to use our own custom product configurator and redirect the customer afterwards to a checkout form to resolve the payment stuff
is that possible?
imagine a car seller's website where you can configure your car and after finishing the configuration you would be redirected to the payment provider's checkout form
You can use pending_setup_intent property for that
https://stripe.com/docs/api/subscriptions/object#subscription_object-pending_setup_intent
This allows you to render elements and collect payment methods
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
is it not possible without using stripe elements?
What are you planning to use? Stripe Checkout?
stripe checkout would be fine if it solves our problem
You can set payment_method_collection to required in that case when you create a checkout session
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_collection
It will collect a payment method on sessions where the total due amount is 0 too
ok, we'll try that, thanks a lot!