Skip to content

Bring Cloudflare adapter onto the payment-session (settle-at-close) model #179

Description

@badjer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions