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 revision Previous revision
Next revision
Previous revision
pagepay [2016/04/22 09:27]
donpdonp
pagepay [2016/06/25 11:25] (current)
Line 20: Line 20:
 #### Opt-in/​Whitelist #### Opt-in/​Whitelist
  
-  1 Browser'​s before-hook for any URL visit (url bar, mouse click, redirect, etc) +``` 
-  ​2 check URL presence on whitelist +  ​Browser'​s before-hook for any URL visit (url bar, mouse click, redirect, etc) 
-  3 If exists, ​add X-Page-Pay: "​detail"​ to request headers +  ​if URL presence on whitelist 
-  4 If not exists, do nothing +     ​add X-Page-Pay: "​detail"​ to request headers 
-  ​5 Check response headers ​for X-Page-Pay +     light up UI button to indicate payment sent 
-  6 If exists, ​light up UI button to indicate possibility of adding URL to whitelist ​+  ​else 
 +    If response headers ​have X-Page-Pay 
 +     ​light up UI button to indicate possibility of adding URL to whitelist ​ 
 +```
  
 #### Payment Policies #### Payment Policies
pagepay.txt · Last modified: 2016/06/25 11:25 (external edit)