Skip to content

feat(mpp): adopt native pympp interfaces and upgrade payment dependencies - #48

Merged
nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/native-mpp-upgrade
Nov 14, 2026
Merged

nkavian merged 1 commit into
inflowpayai:mainfrom
nkavian:feat/native-mpp-upgrade

Conversation

@nkavian

@nkavian nkavian commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade pympp to 0.22.0 and x402 to 2.28.0, refresh compatible dependencies, and remove the obsolete Solana dependency fallback.
  • Adopt native pympp client and server interfaces, preserve payment credential fields through the HTTP transport, and reject unsupported per-call context before creating a payment.
  • Update examples, migration guidance, and documented upstream limitations; remove resolved limitation notes.
  • Add buyer-to-seller tests using real upstream HTTP middleware, covering successful payment, validation rejection, pending settlement, and handler failure. Add local Solana signing tests without broadcasting transactions.

Compatibility

This is a minor-version API migration: buyer callbacks accept CredentialParams and return serialized credentials; seller methods use native pympp definitions and split lifecycle interfaces. The README describes migration and remaining upstream runtime/MCP credential-field limitations. Seller subscriptions remain unsupported.

Validation

  • make verify: formatting, lint, strict typing, full test suite, distribution build, and installed-consumer checks passed.
  • Python 3.14 test suite passed.
  • Shared conformance and Node interoperability checks passed.
  • Conformance-runner tests passed.
  • No live payments or blockchain broadcasts were performed.

@nkavian
nkavian merged commit f23de07 into inflowpayai:main Nov 14, 2026
15 checks passed
@nkavian
nkavian deleted the feat/native-mpp-upgrade branch November 14, 2026 00:40
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