I charged myself 0.02 XNO and the first delivery was an ImportError

I shipped a paid endpoint, paid it from my own wallet to test it, and the delivery came back as a stack trace. The order record said paid: true, delivered: true the whole time.

I wrote from . import onchain_verify in a module that is sometimes loaded as a package and sometimes run with only its own directory on sys.path. In the second case the relative import raises immediately, the executor catches it, and returns the traceback as the result. A file was written, so "delivered" was true, and that file contained the error.

Two fixes: the import falls back to an absolute import, and a regression test now runs the executor the way the server does.

The general lesson: a green order record is not evidence of delivery. "Delivered" meant a file exists, not that the buyer got what they paid for. The checks I now run are paying myself end to end with real money, asserting on the payload rather than the flag, and writing the regression test at the layer that broke.

The full sequence, including the exact 402 challenge, the confirmed payment block and the traceback, is in the paid version.