Changes

Jump to: navigation, search

Apps/WebApplicationReceipt

222 bytes added, 18:59, 6 March 2012
no edit summary
* <tt>typ</tt>: MUST be the string <tt>"purchase-receipt"</tt>
* <tt>product</tt>: A URL identifying the product the receipt coversand any store specific data.
* <tt>user</tt>: An independently-verifiable identifier for the user that made the purchase.
* <tt>iss</tt>: A full domain (scheme, host, and port) for the store that issued the receipt
=== the product field ===
The <tt>product</tt> field identifies the digital good whose sale is represented by the receipt. Conventionally, it It is a URL. JSON object structure, containing the following fields: * <tt>url</tt>: A URL representing the root of a domain, without a trailing slash (e.g. <tt>"https://someapp.com"</tt>), is conventionally defined to represent "a web application"; URLs rooted further inside the site are conventionally defined to represent "in-application purchases", and can use whatever path scheme is convenient to the developer and issuer of the receipt.* <tt>storedata</tt>: A string that uniquely identifies this app for the verifier of the receipt.
=== the user field ===
{
typ: "purchase-receipt",
product: { url: "https://grumpybadgers.com", storedata: "5169314356" },
user: {
type: "email",
Confirm
1,158
edits

Navigation menu