Skip to content

Commit

Permalink
update example for core payment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnoto committed Jan 10, 2017
1 parent 63b4104 commit fb3fead
Show file tree
Hide file tree
Showing 7 changed files with 843 additions and 0 deletions.
13 changes: 13 additions & 0 deletions example/simplepay/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Simplepay

An alternative of [Simplepay](https://github.com/veritrans/veritrans-ruby/tree/master/example/rails/simplepay)
written for Go. It should give an illustration and proof of concept
for integrating Midtrans PG with Go.

## Demo

1. Run go get: `go get github.com/veritrans/go-midtrans`
2. Clone and change dir to this example folder
3. Run: `go build -o main && ./main`

Visit: `localhost:1234` and make payment.
Loading

0 comments on commit fb3fead

Please sign in to comment.