Ship the Marketplace
Add a seller payouts page, plug in a real provider, and deploy.
A seller payouts page
@app.get("/payouts")
def payouts(req):
seller = req.query.get("seller")
owed = app.money.owed(seller)
rows = app.money.payouts(seller)
return render_payouts(seller, owed, rows)Go live with a real processor
from larz.providers import StripeProvider # or Square, Razorpay, Mollie, Coinbase
money.enable(app, provider=StripeProvider(api_key="sk_live_...",
webhook_secret="whsec_..."), base_url="https://market.example.com")Point the processor's webhook at /larz/webhook/<provider> and deploy with gunicorn (see the deployment docs). The full code is in the marketplace example.
You built a marketplace
- Listings with images, per-item checkout, and split payouts โ in one framework.
- Swap the processor without touching a route; 14 providers ship in the box.
- Now recruit some sellers. ๐๏ธ