#consobs-vp_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1375505478091542578
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- consobs-vp_api, 6 hours ago, 20 messages
tl;dr I'm trying to find linked invoices for payment intent pi_3RF88f2NtvlMLsl80YfRGafa . the invoice payments api says there's no invoice, but when I mine the invoice.payment_suceeded event type, I see a clear link
Hi! I can't see the results of a GET request on my end. What result are you getting from that search?
And by that, I mean: what is the literal JSON object response from that search?
pi_3RF88f2NtvlMLsl80YfRGafa
{
object: 'list',
data: [],
has_more: false,
url: '/v1/invoice_payments'
}```
but, if I pull event_id evt_1RF88i2NtvlMLsl8lyMnzIIg this is the response (from the workbench). the invoice is mapped to this intent
{
"object": {
"id": "in_1RF7Bw2NtvlMLsl8FYyey6Bt",
"object": "invoice",
"amount_due": 898000,
"charge": "ch_3RF88f2NtvlMLsl80C8sfP4f",
"currency": "usd",
"customer": "cus_S7vV0yJ8h3qTqJ",
"default_payment_method": null,
"default_source": null,
"number": "F6B74119-0010",
"payment_intent": "pi_3RF88f2NtvlMLsl80YfRGafa",
"period_end": 1744953020,
"period_start": 1744610590,
"status": "paid",
"subscription": "sub_1RDg6s2NtvlMLsl8r1i1KZvt",
"total": 898000
},
"previous_attributes": null
}
If I try to get invoice details of id in_1RF7Bw2NtvlMLsl8FYyey6Bt I get an API error saying there's no such invoice!!
This is kinda weird. Still digging.
Yup. Was fooling around on the test site and created a big subscription for $8980 and then this happened
Are you using Test Clocks?
Never mind. Here's the issue: https://support.stripe.com/questions/test-mode-subscription-data-retention