#jensen_84691
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jensen_84691, 20 hours ago, 40 messages
You mean the inline product that you create through checkout session? https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-name
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes
I want to dynamically change the product name when creating a payment link. Do I have to take two steps now? First, create the price and then create the payment link
I don't think you can create inline product with Payment Link API
So you need to create a price and product first, an make another call to create a Payment Link
But my products and prices are constantly changing and not fixed
Then you should create inline products with Checkout sessions API
I don't see a limit
Do I need to start with $stripe ->prices ->create
Then $stripe ->checkout ->sessions ->create
Not necessary, you can do them in one API call using checkout sessions API, refer to the first API reference link that I shared with you.
I saw it, but there is no parameter for passing in the product name in that API. My product name changes based on the quantity and product selected by the user, not a fixed product name
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-name Hmm? isn't this param for name?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
wow think you very much!!!!!!