#lalsaud-product-archive

1 messages · Page 1 of 1 (latest)

mint folio
#

hello, well that depends on your integration where it might be expected that you're creating a new Product and Price dynamically using price_data

rugged kelp
#

The thing is we are not creating a new product from integration. Also the random product says it is archived, which even doesn't exist in our system or in Stripe.

Here is an example.

mint folio
#

share with me a Product ID for that (paste it here)

#

I'm fairly certain you're using price_data which dynamically creates an inline Price/Product and archives them by design

mint folio
#

lalsaud-product-archive

fluid obsidian
#

@rugged kelp does that answer your question?

rugged kelp
#

Here is the product id: prod_KWsl0Wwc3QSYvm

@fluid obsidian - Still not sure.

fluid obsidian
#

@rugged kelp sorry the channel got busy, looking

#

@rugged kelp yeah this is not a real product. You are causing its creation because you, or your platform, manually created an Invoice Item via the API: https://stripe.com/docs/api/invoiceitems/create and so it doesn't really let you re-use the Product

#

whenever you make that call, we create a Price and a Product to back that line item

rugged kelp
#

@fluid obsidian - That's right. Our app is creating a lineitem and we pass a product id which is available in Stripe account. The only issue is this extra product/price is being added automatically on it, which we are not passing or is not available anywhere. So we are confused, from where this additional random product is coming from?

#

Also this is only being added to Next invoice. Charges on current invoice looks fine.

fluid obsidian
#

Our app is creating a lineitem and we pass a product id which is available in Stripe account
you don't, you just pass an amount right now

#

the Price id price_ABC you pass is in metadata