Skip to content

feat(sdk): expose request-local payment options and capability metadata - #49

Merged
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/upstream-capabilities
Nov 15, 2026
Merged

nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/upstream-capabilities

Conversation

@nkavian

@nkavian nkavian commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add typed, request-local MPP payment options for instrument, subscription, and CARD merchant selection without mutating shared buyer configuration.
  • Expose native challenge ordering and optional method-specific amount, currency, recipient, and chain controls. No default spending cap is introduced, and request-local options cannot weaken configured controls.
  • Preserve facilitator extension-response metadata, including Permit2 allowance responses, without leaking it into payment-response serialization.
  • Forward advertised Solana transaction versions for matching exact-payment networks.
  • Document and verify native wallet authentication, Bazaar metadata, opt-in builder attribution, browser paywalls, and MPP middleware composition.

Validation

  • make sync and make verify: formatting, lint, strict type checking, unit/integration tests, per-file coverage gates, and isolated installations of the built distribution.
  • Shared conformance: 569 supported cases passed. The 11 existing unsupported MPP seller-subscription cases remain explicitly declared.
  • Node interoperability: 53 cases passed, including negative harness checks.
  • Tests exercise real upstream HTTP transports, middleware, wallet signatures, and Solana transaction construction. Platform responses and blockchain RPC data are synthetic; no paid transactions were performed.

Scope

  • Existing constructor options remain defaults; omitted request options inherit them, while explicit None clears a selector.
  • Native wallet-authentication examples require an external signing wallet and suitable replay-protection storage. They do not add managed-wallet message signing.
  • Attribution declarations do not imply facilitator support for on-chain attribution. No builder code is injected automatically.
  • This change does not add payment sessions or port unavailable upstream signed-offer/receipt extensions.

@nkavian
nkavian merged commit 448d658 into inflowpayai:main Nov 15, 2026
15 checks passed
@nkavian
nkavian deleted the feat/upstream-capabilities branch November 15, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant