#AroGigante
1 messages ยท Page 1 of 1 (latest)
Hi! Let me help you with this.
No, we don't have a functionality to export logs.
You can try using Events instead: https://stripe.com/docs/api/events/list
Do I have the IP information in the response? I can't find it.
I guess I should filter by payment_intent.created event type.
But then it looks like data.object will be a PaymentIntent
but I don't see the IP in the documentation for that object
Yeah, I don't think there's IP info, unfortunately.
Do you know how could I run a quick check to see that I am not getting any requests from any IP outside of my expected range?
You mean with your secret or pub key?
Yes.
Which one? ๐
Sorry, let me go back a bit. We identified one of our developers that, unvoluntarily, made requests to Stripe generating duplicated payments for some customers. That happened because he had missconfigured his local development environment and made requests to Stripe with the correct API keys.
I want to do a quick check to verify there weren't other similar situations happening before.
So I want to know all the IPs that made a /v1/payment_intents call.
To double check that all (except the ones we already identified) are from our production servers.
Does that make sense now?
Ouch. That's unfortunate ๐ฆ
I am thinking of other ways to handle this.
Is it something I could get done on your side as a single request?
I mean like a private ticketing where some stripe internal developer can run a quick query for me?
This might be possible but you will need to contact Stripe Support for this, to make sure you are authenticated etc.: https://support.stripe.com/?contact=true
Yeah, that makes complete sense to me ๐
Thanks, I will go through that route. Have a nice day!
Happy to help!