Web Monetization Community

loading...

Python WM verifying server

Simon Metson
Building https://www.audiotarky.com/ to make a fair, privacy focussed music platform.
・1 min read

I’ve released a simple demo server using python/flask which verifies payment via Vanilla. You can find it on github. Contributions, questions, suggestions welcome. I learned of the WM public verification server in this thread and will be adding support for that soon.

The server works by creating a session when a client has a verified payment, and provides a simple bit of client side code to trigger that when a payment is made. It’s meant as a demo/inspiration currently, but will do some work to package it up a bit more formally & add some tests if there’s interest.

Discussion (4)

Collapse
chrislarry profile image
Chris Lawrence

This is awesome! I love how it emerged from the conversation in the other thread. That is one of the main reasons we started this community space. Thanks for using and sharing!

Collapse
drsm79 profile image
Simon Metson Author

:)

Collapse
cyberdees profile image
Desigan CHINNIAH

Nice. Flagging for attention of @wilsonianb , @adrianhopebailie and @sharafian ...

Collapse
drsm79 profile image
Simon Metson Author

This now supports the webmonetization.org verifier as well as Vanilla