Had a cancellation flow that called void() first, fell back to refund() if void failed. Worked in testing because nothing ever settled fast enough to matter. In production, the acquirer's batch cutoff was 11:47 PM local, and any transaction authorized before that got swept into settlement by midnight. Cancel at 11:50 PM on a transaction from 11:30... Weiterlesen
Intelligence View
Void vs refund isn't a status check, it's a race against batch cutoff
Had a cancellation flow that called void() first, fell back to refund() if void failed. Worked in testing because nothing ever settled fast enough to matter. In production, the acquirer's batch cutoff was 11:47 PM local, and any…
SOCIAL SHARE CARD GENERATOR