#hasan0.0.7
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- hasan0.0.7, 1 day ago, 16 messages
Hi there!
hi!
If you have an invoice for $0, then there will be no PaymentIntent or Charges since there's nothing to pay.
Maybe you can list Invoices instead of listing the Charges?
but the invoice object in the result also doesn't return the second invoice (the plan switch)
and using the same API we used to see transactions of amount 0€ in the transaction history page of the website where we display the charges according to the QA devs
Sorry for the delay, Discord was busy.
but the invoice object in the result also doesn't return the second invoice (the plan switch)
I'm not sur eI understand. Can you share the invoice ID (in_xxx) and the exact issue?
Can you clarify what is the issue with this invoice exactly?
I would like the API that returns stripeCharge, stripeInvoice, stripeCustomer objects to return it also, right now it's only returning the first transaction with invoice ID: in_1OCK02HZv8x2E5WAQa6ndzV1 and charge ID: ch_3OCK02HZv8x2E5WA0yVKodir
or maybe I'm missing something/ don't understand fully how the API works
Are you using this to list all invoices: https://stripe.com/docs/api/invoices/list?lang=node? If so it should contain all invoices, including the one you shared above.
I'm actually using this one: https://stripe.com/docs/api/charges/list?lang=node does it work too?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The API you just listed is listing Charges. But like I mentioned earlier, in_1OCK1gHZv8x2E5WAIlmmnEBM is for $0, so there will be no charges created for it. That's why you won't see it.
Instead I recommend you to directly list Invoices with https://stripe.com/docs/api/invoices/list
Which will contain all Invoices, including the ones for $0.
I see, okay understood. Thank you for your time