Problem
ows pay request prints "Paid $X on via x402" immediately after
signing and submitting the payment — before checking whether the server
actually accepted it. If the server rejects with HTTP 402 (e.g. insufficient
balance), the user sees both "Paid" and an error, which is contradictory and
misleading.

Problem
ows pay requestprints "Paid $X on via x402" immediately aftersigning and submitting the payment — before checking whether the server
actually accepted it. If the server rejects with HTTP 402 (e.g. insufficient
balance), the user sees both "Paid" and an error, which is contradictory and
misleading.