#santosh2585

1 messages · Page 1 of 1 (latest)

round cedarBOT
royal dawn
#

Hi there, can you show me the relevant invoice and product IDs?

solemn shard
#

Yeah sure
This is the two products I am having with there respective ids.
Test Product Three (id): prod_O7KHa1h1KWLHJO
Test Product Four (id) : prod_O7KIP0SLkLHkLZ

and the invoice I am getting is

royal dawn
#

OK, so what's the product ID that you expect?

solemn shard
#

the actuall product id that is available in the stripe product
that is this product id
Test Product Three (id): prod_O7KHa1h1KWLHJO
Test Product Four (id) : prod_O7KIP0SLkLHkLZ

But the thing is why product id is getting changed ? I have attach the same product in the item of the invoice but in invoice how I can get different product id ?

royal dawn
#

I don't understand you, you just told me the same IDs.

solemn shard
#

I have created two products in the product section.

  1. Test Product Four and its product id is prod_O7KIP0SLkLHkLZ
  2. Test Product Three and its product id is prod_O7KHa1h1KWLHJO

And while creating invoice I am attaching these products as line items of the invoice.

After the invoice is created and when I am fetching the invoice, I am receiving the invoice object along with the product details inside the invoice object.

But the product Id I am receiving inside invoice object is different from their actual product id.
So my question is If let suppose I am attaching a product with id prod_O7KIP0SLkLHkLZ in the invoice item so while fetching the invoice, how product id can be different

royal dawn
round cedarBOT