Web Monetization tutorial

Purpose
Example script to go with documentation. Maybe example of cooperating with Payment API.
Sources
Coil Resources
Advanced Web Monetization Features
OAuth Web Monetization Script
Technical contact
Unclear

The example script.

Problem with JavaScript API: hiding/showing content is very easy to work around. We wait for server-side implementations where the server decides if the state of the monetization is good enough to warrant sending exclusive content.

Get started

Extremely simple example script with just a link tag and a statechange event handler that shows hidden content.

Cooperating with payment APIs?

Look into this.