Skip to content

feat(seller): support request-time payment pricing - #47

Merged
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/request-pricing
Nov 14, 2026
Merged

nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/request-pricing

Conversation

@nkavian

@nkavian nkavian commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add synchronous and asynchronous request-time MPP pricing through the native pympp resolver.
  • Add FastAPI and Starlette x402 route resolvers that select complete payment offers while retaining upstream verification, settlement, and receipt handling.
  • Preserve application callback identity, isolate mutable payment configuration, and share nonblocking facilitator initialization across requests.
  • Update seller examples to demonstrate request-time pricing while retaining existing fixed-price entry points.

Validation

  • Full make verify passed: 1,448 tests, 100% line and branch coverage, formatting, lint, strict typing, package build, and isolated installation checks.
  • Coverage includes concurrent pricing, cancellation, changed-price retries, payment failures, body replay, callback state, and initialization retry.

Review notes

  • Route-only validation calls the upstream internal validator to avoid refreshing facilitator capabilities on every request. Tests exercise this boundary.
  • Payment flows were exercised through real upstream middleware with simulated platform HTTP responses; no live payments were made.
  • No dependency or package-version changes.

@nkavian
nkavian force-pushed the feat/request-pricing branch 2 times, most recently from 9a2bab8 to 42bcd49 Compare November 12, 2026 22:24
@nkavian
nkavian force-pushed the feat/request-pricing branch from 42bcd49 to 1260876 Compare November 14, 2026 02:19
@nkavian
nkavian merged commit 3c46bb8 into inflowpayai:main Nov 14, 2026
12 checks passed
@nkavian
nkavian deleted the feat/request-pricing branch November 14, 2026 02:23
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