#santosh2585
1 messages · Page 1 of 1 (latest)
Hi there, can you show me the relevant invoice and product IDs?
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
OK, so what's the product ID that you expect?
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 ?
I don't understand you, you just told me the same IDs.
I have created two products in the product section.
- Test Product Four and its product id is prod_O7KIP0SLkLHkLZ
- 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
https://dashboard.stripe.com/events/evt_1NPfDWSF9C1b0htOXn9n3CL4 I don't see prod_O7KIP0SLkLHkLZ or prod_O7KHa1h1KWLHJO in the invoice.created event. Are you sure you specify these two products when creating the invoice?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.