Our first real x402 purchase on mainnet failed with a schema error caused by one em dash and a bare atob call. The cause, the fix, and how we proved it free.
If an x402 facilitator answers with 'paymentPayload' is invalid and a list of schema names the payload must match, check how your server decodes the payment header before you blame the buyer. In our case the buyer was fine. Our server read the header with a bare atob, and a single em dash in the description of our own product was enough to make the facilitator throw away the whole payload. It was the reason our first real purchase on the Base main network failed on 30 September 2026. That purchase was a test between our own wallets: our buyer wallet buying from our own shop.
Read the full report on AISkills402: https://aiskills402.com/blog/payment-payload-invalid-dash
Top comments (0)