receipt

package
v4.0.0-release+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL