#frekis_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/1295379302812221450
๐ 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.
- frekis_api, 3 days ago, 45 messages
hello
Hi there ๐
Can you elaborate a bit? When I look in the response for the request you shared I see latest_charge is populated.
Okay
So already have code for capture intent where we got charges key and inside charges there is lots of information in it so basically we used some information for our receipt like network and card. and it is working as expected as before but when i try today charges key and full charges object is not returned in capture api response.
This is req url :- https://dashboard.stripe.com/acct_1PVAxuSFCi0tdtw3/test/logs/req_nslT1NRjsEIUw5
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So can you please check and let me know what's wrong with this or can i missed something ?
I'm not quite sure what that means. Do you have the ID of a request that behaved as expected that you can share?
So I can compare it to these ones that you say aren't working as you're expecting.
req_nslT1NRjsEIUw5
this is the request url :- https://dashboard.stripe.com/acct_1PVAxuSFCi0tdtw3/test/logs/req_nslT1NRjsEIUw5
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That's the same one you shared initially, is that the one that worked as expected?
Okay let me shard expected url
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Basically both have same transaction but my question is when i called api from backend charges object is not return and some times later it will attached somehow. so backend will gives error because i take some key and his value inside this charges object when capture reponse will successfully get.
That Event is related to the same request you shared initially, where the latest_charge field is included and populated with the ID of a Charge object.
Is this the one that you say worked as expected? If so, can you share the example of one where latest_charge wasn't populated so I can take a closer look at that?
Or, if this is the one that didn't work as expected, can you elaborate on why? What fields are you looking for that aren't populated?
No i'm saying about charges was not their
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
you can see this in this url
but not in this url :- https://dashboard.stripe.com/acct_1PVAxuSFCi0tdtw3/test/logs/req_nslT1NRjsEIUw5
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ah, I see! charges isn't expected to be there, it was deprecated for latest_charge in an API version earlier than the one you're using.
https://docs.stripe.com/upgrades#2022-11-15:~:text=The charges property,has been removed
If you use an API version before 2022-11-15, then the API will include the charges array instead of the latest_charge field.
Okay Thank you!