#citronovastava
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
I am not sure what you mean by
"Creating products" via API instead of "One-time products"
Are you referring to creating a product dynamically for each transaction VS creating a real product record in Stripe?
Normally, for most cases, you need to have only a handful of products. If your price amount changes often/dynamically, you can create a new Price for the same object: https://stripe.com/docs/products-prices/how-products-and-prices-work
It's possible however to also create a one-time/one-off Product and Price for a specific Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data
This is useful if each transaction has a unique amount/currency (Price) or name/description (Product).
Yes, you understand it right. Is it also same or easier to use one time products for invoices?
It depends if you need any dynamic info for each transaction.