No, these instances were logged by our webhook. So the webhook was
definitely invoked. I don’t think its related to infrastructure because
they seem to occur repeatedly for the same customer while other customers
around the same time are unaffected. For instance, the last 3 occurrences
were
timestampamountdwollaId
Mar 9, 2017 8:22 am 75.00 18097015
Mar 8, 2017 8:22 am 75.00 18076107
Mar 7, 2017 8:22 am 75.00 18052326All for the same customer (Yenaisy
Gutierrez Perez). The charges are all at 8:22am because that’s when our
script runs that attempts to charge people that have signed up for our
’auto-pay system’.
Each day, we attempted the charge, and a transaction was successfully
generated with your Dwolla\Transactions()->send() API. But our webhook
logged the following (just showing the March 9 results; the others are
similar):
2017-03-09 08:22:24:
2017-03-09 08:22:24: Dwolla signature mismatch: received
362b00c7329c6697fc0979045d1de70f058d5d41, computed
f7c4899807b481fbf32ef0542bc8bc67730c4042
2017-03-09 08:22:24:
2017-03-09 08:22:24: Dwolla signature mismatch: received
362b00c7329c6697fc0979045d1de70f058d5d41, computed
f7c4899807b481fbf32ef0542bc8bc67730c4042
And now that you mention that the POST is attempted 2 times, these entries
in our logs make sense; each time you POST to us, we log the content (blank
line), and the resulting mis-match in signatures. The mismatch arising from
the fact that we’re computing the signature of an empty payload, and you,
presumably, are not.
For comparison, here’s the previous few lines in our webhook log:
2017-03-09 08:22:22:
{“Id”:“18097012”,“Type”:“Transaction”,“Subtype”:“Status”,“Created”:“2017-03-09T16:22:36.000Z”,“Triggered”:“2017-03-09T16:22:17.794Z”,“Value”:“pending”,“Transaction”:{“Type”:“money_sent”,“Notes”:"",“Fees”:[],“Id”:18097012,“Source”:{“Id”:“812-275-4790”,“Name”:“Jose
Aymerich”,“Type”:“Dwolla”,“Image”:“
https://www.dwolla.com/avatars/812-275-4790"},“Destination”:{“Id”:“812-913-5210”,“Name”:"PayJoy
Inc.”,“Type”:“Dwolla”,“Image”:“https://www.dwolla.com/avatars/812-913-5210
”},“Amount”:98.0000,“SentDate”:“2017-03-09T16:22:36.000Z”,“ClearingDate”:“2017-03-14T00:00:00.000Z”,“Status”:“pending”},“Metadata”:null}
2017-03-09 08:22:22: 18097012: -> pending
So the question is… what’s unusual about Yenaisy Gutierrez Perez that’s
making her webhook payloads (as seen by file_get_contents(‘php://input’)),
appear to us as empty??
Thanks for looking into this.
-michael