#palani-kalyani_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255552182355230760
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello! Sorry, not sure I understand. What specifically are you trying to do and what specifically isn't working?
I am using IJM Primary Giving, test mode
To make it simple Stripe API /v1/charge GET endpoint is not returning billing details, but I do see the details in dashboard
What do you mean by "billing details" exactly? Like what were you getting in the response before the API upgrade that's missing now?
So you are getting billing_details back in the API response, but the values are empty?
First image is from dashboard and second is from the json extract.
Yes
That means those values haven't been set.
This for now I noticed when the payment is ACH
I don't know the internals of Stripe. But I assume when it is seen in UI, how Api is not getting it
Can you give me an example Charge ID so I can take a look?
See if this helps /v1/charges/py_3PVnJ9Js0FJfe6MF1QFuSACf/refund
Here is the Api call IJM Primary Giving account / Test Mode
That's an Invoice payment. The Invoice was created by the Subscription you created in this request: https://dashboard.stripe.com/test/logs/req_7webr5PxrDRbwh
You specified an existing Payment Method to use, which was created in this request where name was the only billing detail provided: https://dashboard.stripe.com/test/logs/req_Qyfg6xGyasYR1d
Even for this customer https://dashboard.stripe.com/test/customers/cus_QKn3w7C9irHTKQ
What do you mean?
But for ACH Payment method, Stripe allows me to only send name details
So in the above screen shot from dashboard, there is a billing detail
why it is not fetched in Api call is what I am trying to understand
Those details are set on the Customer object. You're getting Charges and Invoices back from the API, not the Customer.
Got you thanks
In your request you're expanding data.invoice and data.invoice.subscription. Try changing data.invoice to data.invoice.customer and try again.
wil try, thanks again