This page covers where data will live for the Bango implementation of the payment server. See also https://wiki.mozilla.org/Marketplace/PaymentServer.
This is data stored in the marketplace. These do not map directly to tables, but are just a logical representation.
|Price||The price for this app|
|Currencies||The currencies that the app can be sold in.|
This is data stored in solitude.
This is the data for a buyer. This will be written by Web pay.
|User uuid||Hashed||Yes||A hash of the email sent from persona|
|PIN||Hashed||No||Sent through from webpay|
|Encrypted||No||Sent through from webpay|
This is the data for a seller. This will be written by the marketplace. Web pay will not write to this at all, but will read.
|User uuid||Plain||Yes||A uuid sent from the marketplace|
|Secret||Encrypted||No||The secret the JWT will be signed with|
|Issuer Key||Plain||Yes||The key so we can look up the secret (confirm with kumar).|
|Bango id||Plain||Yes||The id on bango for this app for use in APIs|
For a sale
This is the data created on each sale, apart from the raw transaction info with Bango (TBD).
|Amount||Plain||No||Sent from the JWT|
|Currency||Plain||No||Sent from the JWT|
|Name||Plain||No||Sent from the JWT|
|Transaction uuid||Plain||Yes||Generated by us|
|Bango uuid||Plain||Yes||The uuid we use with Bango, generate by us or Bango.|
Other pieces of data solitude will store:
- Transactions with bango linked to the user uuid. Exactly what will be in here depends what we can get from bango.