#itaied
1 messages · Page 1 of 1 (latest)
Hi there!
Both option should work!
If you have a manageable number of products/price, it would make sense to create them once and then re-using the same IDs. Can be useful for tracking.
But if your products/price are dynamic, then you can directly use price_data when creating the subscription.
When would someone with an eCommerce store use Stripe Products and Prices? What are the use cases of this feature?
If you are using Checkout Sessions or Subscriptions, you have to use products & prices. But you either create the Product & Price yourself (recommended), or if needed you directly pass price_data and product_data.
You can learn more about this here: https://stripe.com/docs/products-prices/how-products-and-prices-work
we do use checkout sessions
We are using price_data and product_data.
Why is it recommended to use the Product & Price?
I just can't wrap my head around on the pros and cons.
We have a system storing the inventory data, what are the benefits of migrating the data into Stripe?
I just can't wrap my head around on the pros and cons.
We usually recommend real product & prices because there are some extra features. Like:
- crosell: https://stripe.com/docs/payments/checkout/cross-sells
- upselll: <https://stripe.com/docs/payments/checkout/upsells
- And probably better reporting (since you can track sales for a specific product ID / price ID)