Interest in an x402/agentic-payment crypto driver for Lunar #2657
Replies: 2 comments
|
Very interesting project. I would say this would be ideal for our upcoming marketplace (coming as part of v2). We also have a standalone checkout in development which I would guess this would likely want to integrate with, again - more details to follow later in the year. For the moment we'd be happy to list it at https://docs.lunarphp.com/1.x/addons/community/overview |
|
@glennjacobs Thanks for the reply. Glad it sounds like a good fit. I'll open a PR to lunarphp/docs to add it under the Payments section of the community add-ons page. On the marketplace and standalone checkout work for v2, happy to keep an eye on that as it develops and see where x402 settlement could plug in. No urgency on my end. Just flag me whenever there's something concrete to look at, a branch, an RFC, whatever's useful at that stage. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey @glennjacobs
I've had a few small PRs merged here recently (#2598, #2601, #2602, #2603) and wanted to run something by you.
I built a standalone crypto payment driver for Lunar: https://github.com/wakqasahmed/agentic-payment-x402-lunar. It lets a customer pay with USDC on Base either the normal way (wallet-signed transfer at checkout) or via x402 (the HTTP 402 challenge/response flow AI shopping agents use to pay directly, no card or checkout UI involved).
It's structured as a plain
PaymentTypeInterfaceextension, same shape aslunarphp/stripe, no core changes. Published on Packagist aswakqasahmed/agentic-payment-x402-lunar, 100+ tests including real integration tests bootinglunarphp/core's own migrations against SQLite.Agent-initiated payments feel like a genuinely new checkout path that's about to matter for ecommerce, and I don't think Lunar has anything in this space yet. Is there an appetite for something like this living under the
lunarphporg, the addons monorepo, or wherever makes sense to you?Happy to adjust structure or anything else required.
All reactions