#keviny5866
1 messages · Page 1 of 1 (latest)
Reset billing cycle is on Subscription. What kind of product events are you referring to? Can you provide a scenario?
subscribed to a product (on trial).
then i changed the trial days to now and try to end the trial using reset billing cycle
for example, a failed payment event.
i only see 4 events on webhook.
charge.failed [evt_3NgKvdDB3z8x0Fok1Sx34aPy]
payment_intent.created [evt_3NgKvdDB3z8x0Fok1Z43yVi9]
payment_intent.payment_failed [evt_3NgKvdDB3z8x0Fok1K8CGxcI]
payment_intent.canceled [evt_3NgKvdDB3z8x0Fok1GONhMgK]
i needed the invoice.payment_failed event to get the product. any alternatives?
I wanted to test an ended subscribed trial product that has failed/succeeded payments
and get the product id so I can do some additional processes for it.
Since this is performed through Dashboard, it seems that the payment was created first without creating an invoice
Checking how this can be done
any other alternatives to test end of cycle scenarios?
other than test clocks. since we're not on billing starter (but im already introducing this for a more precise test)
okay. great.
If the payment intent is created for a subscription, it should have invoice ID in latest_invoice, which can be used for Invoice retrieval to get product information. However, it looks like it's not present in payment_intent.* event.
Can I suggest you to write in to us https://support.stripe.com/contact, so that we can follow up and check with the relevant team? It’ll be helpful if you can include the ID in your email.
Yes, Sure. what should i write them?
cannot retrieve product from reset billing cycle events?
If the payment intent is created from the invoice of the subscription, the invoice ID (in_xxx) will be present under latest_invoice field of Payment Intent object. However, latest_invoice is not present in the payment_intent.* events above (provide IDs as the proof), that you can't further retrieve Invoice information
Already emailed them. Thank you very much, river! Have a good day!