var request = navigator.mozPay([jwt]);
request.onsuccess = function() {
// Wait for postback
};
Web payments today:
It works!
Problems
- Credit cards
- Mobile billing
- New customer info
- Asset ownership
Credit card numbers are insecure
Payment tokens for merchants
- Pay me $X
- I don't care how
- expires in 5 minutes
Out of scope
- customer <-> processor
- merchant <-> processor
Token examples
- PayPal hosted flow
- mozPay JSON Web Token
Mobile billing is broken
How do we fix this?
- HTTP header injection
- every operator is different
- SMS hacks
Silent SMS API (in mozPay)
Becoming a new customer is hard
Solutions
- Request Autocomplete
- standard web identity?
How do you prove you own an item?
Digital receipts
- portable
- decentralized
- verifiable
Payments work well on the web
What are the payment primitives?