Sandbox webhook for dispute events not working every time

Dear Team,

I’m referring to this article: Test the Disputes API, and testing in sandbox location “LPAFMNWQ19SJG” and application “sandbox-sq0idb-_9Ox2CLpXcAcgfF4qgYcLw”

While testing webhook of dispute events in sandbox environment, I noticed below:

  1. Sometimes the dispute.created event is not triggered (roughly 1/5 not triggered).
    For example, payment id: 3T65Zqz0MIEReZBSNE1TaHhdFnDZY

  2. Failed to get ‘WON’ or ‘LOST’ state after created and submitted evidence with name ‘evidence_won’ or ‘evidence_lost’. I have tried around 5 disputes, only one dispute success to get ‘WON’ state, the others got ‘PROCESSING’ state and it doesn’t change to ‘WON’ or ‘LOST’ afterwards,
    For example, dispute ID OMhBrL6ZHtbtqDMq5OfoSC

Besides, I also notice sometimes it may fail to create payment with the target amount 88.0X to trigger dispute, Square java SDK gave msg ‘HTTP Response Not OK’ and error list null.

If any further information is required, please let me know.
Thanks.

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Disputes API
Sandbox Payments
Payments API Webhooks

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.