Documentation ¶
Overview ¶
Package receipt is used to generate and show a receipt for a specific credit card charge. The data for a receipt is taken from Stripe (the charge data) and from the app engine datastore (information on the company who runs this app). The company data is used to make the receipt look legit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Preview ¶
func Preview(w http.ResponseWriter, r *http.Request)
Preview shows a demo receipt with the company info and fake transaction data this is used to show the receipt when saving the company info.
func Show ¶
func Show(w http.ResponseWriter, r *http.Request)
Show builds an html page that display a receipt this is a very boring, plain text, monospaced font page designed for easy printing and reading the receipt is generated from the charge id the data for the charge will have to be retrieved from stripe
Types ¶
This section is empty.