Mangopay / mangopay

MANGOPAY API Known Issues
3 stars 2 forks source link

Received hook notification with empty RessourceId (production) #24

Closed javiercr closed 8 years ago

javiercr commented 8 years ago

We just received a PAYOUT_NORMAL_FAILED hook notification where RessourceId was empty:

23.100.11.108 - - [15/Jul/2016:11:36:23 +0000] "GET /[url_redacted_for_security]?RessourceId=&EventType=PAYOUT_NORMAL_FAILED&Date=1468540800 HTTP/1.1" 200 11 "-" "-"

The IP is from Microsoft Azure, so I'm assuming is a real IP from Mangopay. Why would the API send a PAYOUT_NORMAL_FAILED without any RessourceId?

Thanks!

hobailey commented 8 years ago

@javiercr are you sure you (or someone in your team) weren't using the hook testing tool in the Dashboard?

javiercr commented 8 years ago

@hobailey yep, I'm pretty confident.

hobailey commented 8 years ago

Hey, I've just done some checks, and I confirm that this ping was indeed done from the production Dashboard hook simulator (who's IP is indeed 23.100.11.108) :-)

javiercr commented 8 years ago

@hobailey thanks for checking this. I don't really recall clicking the "test the hook" button, but I can't prove it, so I have to believe it was me accidentally. Sorry to bother you guys.

hobailey commented 8 years ago

Well to be fair, we test the hook even during the update of the page too (ie without clicking the "test the hook" button) :-)