The Express adapter now opens a request-scoped PaymentSession and settles at response close (PR #177). The Cloudflare adapter (packages/atxp-cloudflare/src/requirePayment.ts) still has no settlement path and falls back to the SDK requirePayment's paymentServer.charge. Bring it onto the same session/settle-at-close model.
Design: https://github.com/circuitandchisel/accounts/blob/main/docs/STREAMING_PAYMENT_SESSIONS.md
The Express adapter now opens a request-scoped PaymentSession and settles at response close (PR #177). The Cloudflare adapter (
packages/atxp-cloudflare/src/requirePayment.ts) still has no settlement path and falls back to the SDKrequirePayment'spaymentServer.charge. Bring it onto the same session/settle-at-close model.Design: https://github.com/circuitandchisel/accounts/blob/main/docs/STREAMING_PAYMENT_SESSIONS.md