Skip to content

This is an example of using the stripe API along with golang. Uses Iris & quicktemplate as well.

License

Notifications You must be signed in to change notification settings

peppage/donation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donation

A very simple example of using the stripe API along with golang.

It is a simple form that accepts credit card details and then creates the stripe token and sends it to the backend when the form is submitted. Then it processes the charge and send the user back to the index with success=t or success=f

To setup copy the conf.example.toml to conf.toml and put your stripe keys in. Then I have included a make file if you have make installed. If not run

qtc -dir ./view
go build -v

About

This is an example of using the stripe API along with golang. Uses Iris & quicktemplate as well.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published