Page MenuHomeWrite.as

Serve WM content
Closed, ResolvedPublic

Description

Overview

Supporting T770, deliver the second part of a Web Monetized split post via API.

Implementation

TODO

Resources

From Ben @ Coil:

https://github.com/coilhq/receipt-verifier the receipt verifier service is a good starting point
There's also an example in the web monetization projects repo that shows receipt usage, key point is here: https://github.com/coilhq/web-monetization-projects/blob/main/packages/web-monetization-demo/src/client/Index.tsx#L41

Revisions and Commits

Related Objects

Event Timeline

matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
matt added a commit: Restricted Diffusion Commit.Oct 30 2020, 9:54 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.

This is now supported with a few components.

Receipt verifier. Write.as blogs point to a SPSP proxy for WM payment pointers, which enables us to verify payments.

Split content API endpoint. This endpoint delivers the paid part of an article after verifying payment on the backend, via SPSP proxy. (Note: this is internal only and subject to change at any time without notice)

POST /api/collections/{alias}/posts/{slug}/splitcontent

receipt={monetizationprogress.event.detail.receipt}