User Tools

Site Tools


pagepay

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pagepay [2016/04/22 15:33] donpdonppagepay [2016/04/22 15:38] donpdonp
Line 1: Line 1:
-# PagePay Protocol+# PagePay  
 + 
 +## Protocol
  
 #### Request Header #### Request Header
Line 9: Line 11:
 ## User Flow ## User Flow
  
-### Add to wallet+#### Add to wallet 
 Click on UI button, btc address displayed for deposits, along with balance. Click on UI button, btc address displayed for deposits, along with balance.
 3rd party api required for balance check. 3rd party api required for balance check.
  
-### Opt-in/Whitelist+#### Opt-in/Whitelist
  
-1. Visit URL +1. Before-hook for any URL visit (url bar, mouse click, redirect, etc) 
-2. Before page load, check URL presence on whitelist+2. check URL presence on whitelist
 2a1. If exists, add X-Page-Pay: "detail" to request headers 2a1. If exists, add X-Page-Pay: "detail" to request headers
 2b1. If not exists, do nothing 2b1. If not exists, do nothing
Line 22: Line 25:
 2b3. If exists, light up UI button to indicate possibility of adding URL to whitelist  2b3. If exists, light up UI button to indicate possibility of adding URL to whitelist 
  
 +#### Payment Policies
 +
 +  * Rate Limited, Fixed Amount
 +    * Send a fixed amount Y to every visited page on the whitelist
 +    * Rate limit of X payments per URL per hour
  
 ## Firefox addon ## Firefox addon
 [UI button on main toolbar] [UI button on main toolbar]
 +
  
pagepay.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1