Nyzo techMicropayComplex article example

Complex article example

Other pages in this section show how to use Micropay for purchase of an article, an image, and multiple items on one page. However, most web content will be substantially more complex than this. To demonstrate that Micropay is suitable for actual content sites, this page will show how to efficiently protect multiple web resources with Micropay and authorize them with a single transaction.

Like anything with Micropay, behavior is decided by the server delivering content. This example will fit existing Nyzo documentation server functionality by using the same receiver identifier, sender data, and amount for all resources on this page.

The page is set up as a 3x2 grid. Before authorization, all positions in the grid display a blurred version of the Nyzo logo. After authorization, each position displays one of four blocks of text or one of four images randomly.